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

Improve auto-fields-entity (select include field and auto drop-down)

    Details

    • Type: Improvement
    • Status: Patch Available
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: Screen Widget Redesign, Trunk
    • Fix Version/s: None
    • Component/s: framework
    • Labels:
      None
    • Sprint:
      Bug Crush Event - 21/2/2015

      Description

      Hi
      Here are two improvments to complete the element 'auto-fields-entity' of forms.

      The first one consists in adding one fields allowing to select which fields are include in the form (same way as what is made on the definitions of service):
      For example:
      <auto-fields-entity entity-name="Example" include="pk" default-field-type="display"/>
      => To display only the primary key fields of the Example entity

      <auto-fields-entity entity-name="Example" include="nonpk" default-field-type="edit">
      => To display only the non primary key fields of the Example entity

      <exclude field-name="longDescription"/>
      => To exclude one precise fields of an entity

      The second one consists in including for fields with relation a drop-down or a display entity according to EntityType

      Any comments are welcome

        Attachments

        1. OFBIZ-4467-example.patch
          3 kB
          Nicolas Malin
        2. OFBIZ-4467-example.patch
          4 kB
          Nicolas Malin
        3. OFBIZ-4467.png
          51 kB
          Nicolas Malin
        4. OFBIZ-4467.patch
          16 kB
          Nicolas Malin
        5. OFBIZ-4467.patch
          16 kB
          Nicolas Malin
        6. OFBIZ-4467.patch
          14 kB
          Nicolas Malin

          Issue Links

            Activity

              People

              • Assignee:
                soledad Nicolas Malin
                Reporter:
                soledad Nicolas Malin
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: