[
https://issues.apache.org/jira/browse/OFBIZ-6456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14575884#comment-14575884
]
Christian Carlow commented on OFBIZ-6456:
-----------------------------------------
Thanks for the review Adrian.
This issue was primarily created to make find forms appear cleaner but it does
effect input fields as well. I thought it would be easier for users to
interpret forms if they saw types such as date fields grouped together in the
same area instead of spread out throughout the form in whatever order they were
defined in entitymodel. I'm trying to automate the cleanup of various forms
that employ <auto-fields-entity> and <auto-fields-service> that otherwise
require using <sort-order> or changing the order in which fields are defined in
model entity which could require a lot of work.
I see your point about most relevant fields appearing first speeding up data
entry. Many entities have typeId fields which are typically the second most
important fields but my code would render them at the end since they are
commonly rendered as dropdowns.
I'll probably close the issue for now as won't fix. If ever needed I suppose
it could be activated globally with a setting or with an attribute extension
for <auto-fields-entity> or <auto-fields-service>.
> Make <auto-fields-entity> sort by field type by default
> -------------------------------------------------------
>
> Key: OFBIZ-6456
> URL: https://issues.apache.org/jira/browse/OFBIZ-6456
> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: Trunk
> Reporter: Christian Carlow
> Attachments: OFBIZ-6469_2.patch
>
>
> IMO, form widgets are generally easier to interpret when the field types are
> sorted by type but this has to be done manually using <sort-order>. I
> propose improving auto-fields-entity to sort fields by type by default such
> as text, then dates, then numbers, etc.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)