[
http://jira.jboss.com/jira/browse/JBSEAM-2589?page=comments#action_12408463 ]
Ashish Kulkarni commented on JBSEAM-2589:
-----------------------------------------
Hi guys,
There should be some setting within seam-gen that should allow us to specify whether we
want the natural order of the fields or alphabetical order.
This will take away the "moodiness" of the OS and VM.
Most databases define the tables and columns within metadata tables. These metadata tables
can be used to find the actual column order.
This can be added to the Dialect class and overridden within individual Dialect classes
such as PostgreSQLDialect.
Best Regards,
Ashish.
gen-ui: order of fields in generated forms
------------------------------------------
Key: JBSEAM-2589
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2589
Project: Seam
Issue Type: Feature Request
Components: Tools
Affects Versions: 2.0.1.GA
Environment: Mac OS X 10.4.10 PPC, Java 1.5.0_13-121, JBoss-AS 4.2.2.GA, Seam
2.0.1.GA, PostgreSQL 8.2.4
Reporter: Stephan Gr?ter
Assigned To: Emmanuel Bernard
When I generate the xhtml files from existing entities, then the entry fields will be
displayed in alphabetical order of the entity properties and not in the order of
declaration.
For rapid prototyping it would be desirable, if the fields would appear in the order of
declaration.
Since the fields in the auto generated database table are in the the order of
declaration, this should be possible for gen-ui as well.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira