Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-4518

add possibility to sort field at the end form on widget form

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Screen Widget Redesign, Trunk
    • Fix Version/s: Trunk
    • Component/s: framework
    • Labels:

      Description

      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

      <form>
      <field name="a"/>
      <field name="b"/>
      <field name="c"/>
      <field name="d"/>
      </form>

      If you want put c at the end :

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

      with the patch

      <form>
      <field name="a"/>
      <field name="b"/>
      <field name="c"/>
      <field name="d"/>
      <sort-order>
      <last-field name="c"/>
      </sort-order>
      </form>

      It's really usefull for inherited form when you adding new fields, you just use last-field on submit button.

        Attachments

        1. OFBIZ-4518.patch
          4 kB
          Nicolas Malin

          Activity

            People

            • Assignee:
              jleroux Jacques Le Roux
              Reporter:
              nmalin Nicolas Malin
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - Not Specified
                Not Specified