In addition, you may want to consider breaking up your
ftl at that point and simply making seperate widget
elements in your screens.
<widget>
<platform-specific ...>
...
</platform-specific>
<include-form .../>
<platform-specific ...>
...
</platform-specific>
</widget>
The stuff before a form and the stuff after a form
are generally good chunks of code that you may want to
reuse at some time. Having it all written in a single
template means that you'll only be able to reuse it
for the purpose that you're designing right now.
--- Ashish Vijaywargiya <
[hidden email]>
wrote:
> Hi,
>
> If you want to include the form in your ftl file
> try something :
> ${sections.render("NameOfYourForm")}
>
> If you want to include your form from bsh you can
> try :
> ${yourFormWrapper.renderFormString(context)}
>
> You can try to searching "render" word in all the
> ftl files to better understand above description.
>
> I hope it would be helpful for you.
> --
> Regards
> Ashish Vijaywargiya
>
>
> NV <
[hidden email]> wrote:
> Hi
>
> Is there any way to include form-widget in(from)
> FTL.
>
> I want to display form using form-widget in the
> middle of FTL file.
>
> Please let me know if anybody have any idea on this.
>
> Thanks in advance
> NV
> --
> View this message in context:
>
http://www.nabble.com/how-to-include-form-widget-in-FTL-tf2458701.html#a6852808> Sent from the OFBiz - Dev mailing list archive at
> Nabble.com.
>
>
>
>
> ---------------------------------
> How low will we go? Check out Yahoo! Messengers low
> PC-to-Phone call rates.