You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Nicolas Malin <ma...@librenberry.net> on 2012/04/01 22:20:16 UTC

Re: [jira] [Closed] (OFBIZ-4518) add possibility to sort field at the end form on widget form

Thanks Jacques !

Le 31/03/2012 14:10, Jacques Le Roux (Closed) (JIRA) a écrit :
>       [ 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
>
>


-- 
Nicolas MALIN
Consultant
Tél : 06.17.66.40.06
Site projet : http://www.neogia.org/
-------
Société LibrenBerry
Tél : 02.48.02.56.12
Site : http://www.librenberry.net/