OFBiz
  1. OFBiz
  2. OFBIZ-4518

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

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: Screen Widget Redesign, SVN trunk
    • Fix Version/s: SVN 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.

      1. OFBIZ-4518.patch
        4 kB
        Nicolas Malin

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Jacques Le Roux
            Reporter:
            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

                Development