Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-6314 Widget Refactoring - Placeholder issue
  3. OFBIZ-6117

Widget Refactoring: have the ability to group fields horizontally

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Trunk, Upcoming Branch
    • None
    • framework

    Description

      Currently we only have the definition <field-group> in widget-form.xsd to group fields together. This definition only allows a vertical display of the fields.

      Having a possibility to display the grouped fields horizontally would extend the function.

      This could be as:

      <field-group title="${uiLabelMap.Phone}" display-align="hor">
        <field name="intlAccessCode><text size="5"/></field>
        <field name="areaCode><text size="5"/></field>
        <field name="phoneNo><text size="5"></field>
        <field name="extension><text size="5"></field>
      </field-group>
      

      resulting in:

      <input type="text" name="intlAccessCode" size="5"/><input type="text" name="areaCode" size="5"/><input type="text" name="phoneNo" size="5"/><input type="text" name="extension" size="5"/>
      

      in the same grid element (tr/td combination) in stead of creating new tds for each field-group element.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pierresmits Pierre Smits
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: