[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1206) improve i18n in seam-gen

Pierre Raoul (JIRA) jira-events at lists.jboss.org
Wed Apr 18 14:44:30 EDT 2007

improve i18n in seam-gen

                 Key: JBSEAM-1206
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1206
             Project: JBoss Seam
          Issue Type: Feature Request
          Components: Tools
    Affects Versions: 1.2.1.GA
            Reporter: Pierre Raoul

It would be great that seam-gen will generate crud pages and classes for an existing Entity class:
- with all the literals replaced with #{messages['key']}
- and i18n default messages generated

Herewith files of a draft version.

I used the jpaconfiguration propositions from JBSEAM-843.

It works under Eclipse: the target "updatecrud" in the project build.xml can be run from Eclipse.

Nota: to translated Enum type, test of this type had to be added. I did it through file inclusion. So it can be used with any other project specific types, e.g. in the attached zip with joda-time type.

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