On Jan 17, 2010, at 1:18 PM, Bruno Busco wrote:

> Thank you Bilgin,
> there is no way to do everything in the FTL?
> I need to add a groovy?

Yes, I think that you need to prepare the object in a script; it would be nice 
to create an ftl transformation to do this directly in the freemarker template.

Kind regards,

Jacopo


> 
> -Bruno
> 
> 2010/1/17 Bilgin Ibryam <bibr...@gmail.com>:
>> Bruno Busco wrote:
>>> 
>>> Hi,
>>> I need to include a form widget from an ftl file.
>>> 
>>> Is there an instruction equivalent to:
>>>     ${screens.render(ScreenLocation, ScreenName)}
>>> 
>>> but for forms?
>>> 
>>> Something like
>>>     ${forms.render(FormLocation, FormName)}
>>> 
>>> 
>>> Many thanks for any help.
>>> 
>>> -Bruno
>>> 
>> 
>> Hi Bruno,
>> 
>> Look at HtmlFormWrapper usage in  EditShipment.groovy and EditShipment.ftl
>> for an example.
>> 
>> Bilgin
>> 

Reply via email to