Field order/position

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

Field order/position

Gavin Mabie
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?

 

 

Gavin

 

Reply | Threaded
Open this post in threaded view
|

Re: Field order/position

Heidi Dehaes - Olagos
Perhaps restart your ofbiz instance once.

Heidi

2010/11/5 Gavin Mabie <[hidden email]>

> 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?
>
>
>
>
>
> Gavin
>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Field order/position

Erwan de FERRIERES
In reply to this post by Gavin Mabie
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.

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
Reply | Threaded
Open this post in threaded view
|

Re: Field order/position

Jacques Le Roux
Administrator
From: "Erwan de FERRIERES" <[hidden email]>

> 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
>


Reply | Threaded
Open this post in threaded view
|

RE: Field order/position

Gavin Mabie
In reply to this post by Heidi Dehaes - Olagos
Have done this a few times - but still no result.

-----Original Message-----
From: Info Olagos [mailto:[hidden email]]
Sent: 05 November 2010 01:05 PM
To: [hidden email]
Subject: Re: Field order/position

Perhaps restart your ofbiz instance once.

Heidi

2010/11/5 Gavin Mabie <[hidden email]>

> 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?
>
>
>
>
>
> Gavin
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

RE: Field order/position

Gavin Mabie
In reply to this post by Erwan de FERRIERES
Hi,

Thanks for the prompt response - I have moved it right to the top in the
form def - but it still appears in the original position.

Thanks

Gavin

-----Original Message-----
From: Erwan de FERRIERES [mailto:[hidden email]]
Sent: 05 November 2010 01:12 PM
To: [hidden email]
Cc: Gavin Mabie
Subject: Re: Field order/position

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.

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

Reply | Threaded
Open this post in threaded view
|

RE: Field order/position

Gavin Mabie
In reply to this post by Jacques Le Roux
That's done it - Thanks.

-----Original Message-----
From: Jacques Le Roux [mailto:[hidden email]]
Sent: 05 November 2010 01:30 PM
To: [hidden email]
Subject: Re: Field order/position

From: "Erwan de FERRIERES" <[hidden email]>
> 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
>