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

Jiayun Zhou (JIRA) jira-events at lists.jboss.org
Thu Mar 19 03:46:39 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBSEAM-2589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12458073#action_12458073 ] 

Jiayun Zhou commented on JBSEAM-2589:
-------------------------------------

Even if the order of fields in byte code is not guaranteed, the order of declaration can still be retrieved from source code.

Seam-gen must be able to access source code, isn't it?

> generate-ui: order of fields in generated forms
> -----------------------------------------------
>
>                 Key: JBSEAM-2589
>                 URL: https://jira.jboss.org/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
>            Assignee: 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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list