ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gavin Mabie" <gavin.ma...@urbannex.co.za>
Subject RE: Field order/position
Date Fri, 05 Nov 2010 12:12:38 GMT
That's done it - Thanks.

-----Original Message-----
From: Jacques Le Roux [mailto:jacques.le.roux@les7arts.com] 
Sent: 05 November 2010 01:30 PM
To: user@ofbiz.apache.org
Subject: Re: Field order/position

From: "Erwan de FERRIERES" <erwan.de-ferrieres@nereide.fr>
> Le 05/11/2010 12:01, Gavin Mabie a écrit :
>> Hi all
>>
>>
>>
>> I have attempted to change the field position in a form to move it to the
>> form top by using<field position="1" ..../>.  When I call the form up,
the
>> field is still in the original position - I have also tried to move the
>> <field/>  tag physically up the list - but it is still shown in the old
>> position.  I have also clear all caches - but no luck.  What am I not
doing
>> or doing wrong?
>
> Hi,
>
> position on a field is for displaying fields on a same line. If you want
your field at the top of your form, you just have to 
> write it first in your form definition.

It's mostly used for grouping fields, but you can also use <sort-order>, to
re-order. There are plenty of examples OOTB

Jacques

> Another thing, when dealing with XML forms/screens/etc..., there is
generally  no need to restart or clear cache.
>
> Cheers,
>
> -- 
> Erwan de FERRIERES
> www.nereide.biz
> 



Mime
View raw message