OFBiz
  1. OFBiz
  2. OFBIZ-4467

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

    Details

    • Type: Improvement Improvement
    • Status: Patch Available
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: Screen Widget Redesign, Trunk
    • Fix Version/s: None
    • Component/s: framework
    • Labels:
      None

      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

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

        Issue Links

          Activity

          Nicolas Malin created issue -
          Nicolas Malin made changes -
          Field Original Value New Value
          Attachment OFBIZ-4467.patch [ 12498668 ]
          Attachment OFBIZ-4467.png [ 12498669 ]
          Nicolas Malin made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Nicolas Malin made changes -
          Attachment OFBIZ-4467-example.patch [ 12500844 ]
          Attachment OFBIZ-4467.patch [ 12500845 ]
          Nicolas Malin made changes -
          Attachment OFBIZ-4467.patch [ 12500846 ]
          Nicolas Malin made changes -
          Attachment OFBIZ-4467.patch [ 12500845 ]
          Nicolas Malin made changes -
          Affects Version/s Screen Widget Redesign [ 12319143 ]
          Jacques Le Roux made changes -
          Assignee Jacques Le Roux [ jacques.le.roux ]
          Jacques Le Roux made changes -
          Assignee Jacques Le Roux [ jacques.le.roux ]
          Nicolas Malin made changes -
          Link This issue relates to OFBIZ-4472 [ OFBIZ-4472 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Nicolas Malin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Development