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: SVN trunk
Reporter: Nicolas Malin
Priority: Minor
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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira