[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-2589) gen-ui: order of fields in generated forms

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Tue Apr 22 11:12:46 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBSEAM-2589?page=comments#action_12410028 ] 
            
Max Rydahl Andersen commented on JBSEAM-2589:
---------------------------------------------

Just to make clear: seam-gen cannot do anything about this since we just reads the order that Hibernate Entitymanager-Annotations return to us.

And Hibernate cannot do much because of what emmanuel explained about how the different VM's order the reflection.


To Dan: this has nothing to do with columns in the database, this is gen-ui which uses the existing JPA configuration, no database reverse engineering is in play here.

> 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

        



More information about the seam-issues mailing list