Java to FTL

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Java to FTL

Levenimeux
Hi,

plz I wanna know how to send object parameters (without using request.setAttribute() cause it sends just Strings) from Java to FTL (also how to use them in FTL files).

Thank you .
Reply | Threaded
Open this post in threaded view
|

Re: Java to FTL

Scott Gray-2
I assume you're talking about java request events?  request.setAttribute() is the correct way to do it and no it doesn't just allow strings, you can store any object as a request attribute.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 18/06/2010, at 11:33 PM, Levenimeux wrote:

>
> Hi,
>
> plz I wanna know how to send object parameters (without using
> request.setAttribute() cause it sends just Strings) from Java to FTL (also
> how to use them in FTL files).
>
> Thank you .
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/Java-to-FTL-tp2260060p2260060.html
> Sent from the OFBiz - Dev mailing list archive at Nabble.com.


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Java to FTL

Levenimeux
Thank you for your quick reply :)
I will test that ! and how can I manipulate the object in FTL ?
Reply | Threaded
Open this post in threaded view
|

Re: Java to FTL

Scott Gray-2
http://freemarker.sourceforge.net/docs/index.html

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 19/06/2010, at 10:19 PM, Levenimeux wrote:

>
> Thank you for your quick reply :)
> I will test that ! and how can I manipulate the object in FTL ?
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/Java-to-FTL-tp2260060p2261073.html
> Sent from the OFBiz - Dev mailing list archive at Nabble.com.


smime.p7s (3K) Download Attachment