[jira] [Created] (OFBIZ-6623) Have correct field positioning in the row

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

[jira] [Created] (OFBIZ-6623) Have correct field positioning in the row

Nicolas Malin (Jira)
Pierre Smits created OFBIZ-6623:
-----------------------------------

             Summary: Have correct field positioning in the row
                 Key: OFBIZ-6623
                 URL: https://issues.apache.org/jira/browse/OFBIZ-6623
             Project: OFBiz
          Issue Type: Improvement
          Components: framework
    Affects Versions: Trunk
            Reporter: Pierre Smits


Imagine the following example illustrating this:
{code}
<form etc>
<field id="1" name="name1" etc/>
<field id="2" name="name2" position="2" etc/>
<field id="3" name="name3" position="2" etc/>
<field id="4" name="name4" position="4" etc/>
</form>
{code}
This should render as follows:
The first row should have field id="1" and field id="2" at positions 1 and 2
As field id="3" has the same position as field id="2" and as there is no field preceding that without an explicit position or with an explicit position lower than  the position of the field,  a new row should be started. The preceding row position should then be filled with a dummy field.

With respect to field id="4" this should be applied the same way. In this case there is not a field without positioning, but there is a field with a lower position. Thus the position between the two fields should be filled with a dummy field.

This will ensure that fields are correctly positioned in a row of fields.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)