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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Screen Widget Redesign, Trunk
    • Trunk
    • framework

    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

            jleroux Jacques Le Roux
            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