[
https://issues.apache.org/jira/browse/OFBIZ-4467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15361703#comment-15361703 ]
Nicolas Malin commented on OFBIZ-4467:
--------------------------------------
ouch too old patch ... Ok I will review it later because it's on conflict with the adrian's works
> Improve auto-fields-entity (select include field and auto drop-down)
> --------------------------------------------------------------------
>
> Key: OFBIZ-4467
> URL:
https://issues.apache.org/jira/browse/OFBIZ-4467> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: Screen Widget Redesign, Trunk
> Reporter: Nicolas Malin
> Assignee: Nicolas Malin
> Priority: Minor
> Attachments: OFBIZ-4467-example.patch, OFBIZ-4467-example.patch, OFBIZ-4467.patch, OFBIZ-4467.patch, OFBIZ-4467.patch, OFBIZ-4467.png
>
>
> 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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)