render FTL template from JAVA

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

render FTL template from JAVA

T E Schmitz
I would like to render
applications/ecommerce/webapp/ecommerce/order/ordercomplete.ftl from
within a java class.

How do I set up the context and render the page?

Any help would be greatly appreciated.

--


Regards,

Tarlika Elisabeth Schmitz
Reply | Threaded
Open this post in threaded view
|

Re: render FTL template from JAVA

David E Jones-2

Check out FreeMarkerWorker.java

-David


T E Schmitz wrote:
> I would like to render
> applications/ecommerce/webapp/ecommerce/order/ordercomplete.ftl from
> within a java class.
>
> How do I set up the context and render the page?
>
> Any help would be greatly appreciated.
>

smime.p7s (4K) Download Attachment