You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Roel Veldhuizen <ro...@gmail.com> on 2009/02/09 09:53:34 UTC
Mark-up of forms
Hi All,
How can I adapt the markup of a form? For example I want the form
shown in two columns with input fields instead of one.
If this is not possible in a form xml, could I build forms in ftl pages?
Thanks in advance,
Roel Veldhuizen
Re: Mark-up of forms
Posted by David E Jones <da...@hotwaxmedia.com>.
Check out the EditProduct page:
https://demo.hotwaxmedia.com/catalog/control/EditProduct?productId=WG-1111
Look at its form definition in the ProductForms.xml file to see how it
does multi-column and other neat things.
-David
On Feb 9, 2009, at 1:53 AM, Roel Veldhuizen wrote:
> Hi All,
>
> How can I adapt the markup of a form? For example I want the form
> shown in two columns with input fields instead of one.
> If this is not possible in a form xml, could I build forms in ftl
> pages?
>
> Thanks in advance,
>
> Roel Veldhuizen
Re: Mark-up of forms
Posted by Bruno Busco <br...@gmail.com>.
Hi Roel,
you can use the position attribute of the field tag.
-Bruno
2009/2/9 Roel Veldhuizen <ro...@gmail.com>:
> Hi All,
>
> How can I adapt the markup of a form? For example I want the form
> shown in two columns with input fields instead of one.
> If this is not possible in a form xml, could I build forms in ftl pages?
>
> Thanks in advance,
>
> Roel Veldhuizen
>
Re: Mark-up of forms
Posted by Jacques Le Roux <ja...@les7arts.com>.
Yes, as soon as the widget form capabilities are exceeded Freemarker is the way
http://docs.ofbiz.org/display/OFBADMIN/Best+Practices+Guide#BestPracticesGuide-ViewPresentationTemplates
Jacques
From: "Roel Veldhuizen" <ro...@gmail.com>
> Hi All,
>
> How can I adapt the markup of a form? For example I want the form
> shown in two columns with input fields instead of one.
> If this is not possible in a form xml, could I build forms in ftl pages?
>
> Thanks in advance,
>
> Roel Veldhuizen
>