Login  Register

Accessing a script file from the ftl file.

Posted by vijay Si on Sep 27, 2007; 3:20pm
URL: http://ofbiz.116.s1.nabble.com/Accessing-a-script-file-from-the-ftl-file-tp148618.html

Hi,

I have this requirement,

In one of the .ftl files it is required to invoke a small script that would
make an xml file for me.

It is like

<object>
<heigth>
<width>
<param name=" "    value="./../../filename.ext?xml_source=script-file">

now there are two requirements
1) this script file should be invoked when the line <param name......> is
parsed and
2) This script file should contain display as well as scripting features.(eg
jsp or php...or may be something else)

So is it possible to invoke this file when the above statement is
parsed..........(This file may also querry data base using entity
engine..........)?
And also is there any way to use existing ofbiz elements(like bsh for
scripting) for this requirement.

Regards