[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1536) Change field naming in seam-gen generated app

Mikhail Grushinskiy (JIRA) jira-events at lists.jboss.org
Sat Jun 23 18:24:51 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-1536?page=comments#action_12366584 ] 
            
Mikhail Grushinskiy commented on JBSEAM-1536:
---------------------------------------------

Or better generate MetaDataHelper class with static function which is exposed as EL function and 
takes name of entity class and name of the attribute as parameter and returns String name for it so the users could
implement it their own way and do localization.

> Change field naming in seam-gen generated app
> ---------------------------------------------
>
>                 Key: JBSEAM-1536
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1536
>             Project: JBoss Seam
>          Issue Type: Feature Request
>    Affects Versions: 1.3.0.ALPHA, 1.3.0.BETA1, 1.3.0.BETA2, 1.3.0.GA, 1.3.1.GA
>            Reporter: Mikhail Grushinskiy
>
> Seam-Gen names it after object property name.
> Every time cache of the letter switches from lower to upper seam-gen could insert space so
> 'clientAddress'  will be 'Client Address'  (note: space between words) in generated xhtml 
> input field labels and table headers.
> (Or even better put into messages.properties so localization of the app becomes easier)

-- 
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