Login  Register

Re: Accessing a script file from the ftl file.

Posted by BJ Freeman on Sep 28, 2007; 12:22am
URL: http://ofbiz.116.s1.nabble.com/Accessing-a-script-file-from-the-ftl-file-tp148618p148619.html

look at the webtools export functions.

vijay Si sent the following on 9/27/2007 7:20 AM:

> 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
>