[ 
https://issues.apache.org/jira/browse/OFBIZ-4518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacques Le Roux closed OFBIZ-4518.
----------------------------------

       Resolution: Fixed
    Fix Version/s: SVN trunk
         Assignee: Jacques Le Roux

Thanks Nicolas,

Your patch is in trunk at r1307784  

                
> add possibility to sort field at the end form on widget form
> ------------------------------------------------------------
>
>                 Key: OFBIZ-4518
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4518
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Screen Widget Redesign, SVN trunk
>            Reporter: Nicolas Malin
>            Assignee: Jacques Le Roux
>            Priority: Minor
>              Labels: form, sort, widget
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-4518.patch
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> When you use sort-field, you reorder only the form begin or you need list all 
> file if you want reordered the end form.
> Example
> {quote}
>  <form>
>    <field name="a"/>
>    <field name="b"/>
>    <field name="c"/>
>    <field name="d"/>
>  </form>
> {quote}
> If you want put c at the end :
> {quote}
>  <form>
>    <field name="a"/>
>    <field name="b"/>
>    <field name="c"/>
>    <field name="d"/>
>    <sort-order>
>       <sort-field name="a"/>
>       <sort-field name="b"/>
>       <sort-field name="d"/>
>       <sort-field name="c"/>   
>    </sort-order>
>  </form>
> {quote}
> with the patch
> {quote}
>  <form>
>    <field name="a"/>
>    <field name="b"/>
>    <field name="c"/>
>    <field name="d"/>
>    <sort-order>
>       <last-field name="c"/>
>    </sort-order>
>  </form>
> {quote}
> It's really usefull for inherited form when you adding new fields, you just 
> use last-field on submit button.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to