]
Pierre Raoul updated JBSEAM-1206:
---------------------------------
Attachment: i18n.zip
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
Attachments: i18n.zip
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: