[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-421) Update to Seam i18n to support resource bundle types
Gavin King (JIRA)
jira-events at jboss.com
Wed Nov 15 17:09:41 EST 2006
[ http://jira.jboss.com/jira/browse/JBSEAM-421?page=comments#action_12347124 ]
Gavin King commented on JBSEAM-421:
-----------------------------------
Wouldn't it be easier if I just factor out a createBundle() method and let you override on a subclass?
> Update to Seam i18n to support resource bundle types
> ----------------------------------------------------
>
> Key: JBSEAM-421
> URL: http://jira.jboss.com/jira/browse/JBSEAM-421
> Project: JBoss Seam
> Issue Type: Feature Request
> Components: Core
> Affects Versions: 1.1.0.BETA1
> Reporter: Todd Smart
> Fix For: 1.1.0.CR1
>
> Attachments: extras.zip, ResourceBundle.java, ResourceBundle.java
>
>
> The current Seam i18n ResourceBundle class only supports loading java.util.ResourceBundle resource bundles.
> Feature Request:
> ------------------------
> 1) Add an attribute to ResourceBundle called: resourceType (to facilitate use of other resource bundle types). This attribute would be configured in seam.properties.
> 2) Update the loadBundle() method to allow for loading through other resource bundle types.
> See attached update to org.jboss.seam.ResourceBundle (sample supporting classes, property file, and sql script also provided for reference).
> Regards,
> Todd Smart
> todd.smart at smartbinary.com
--
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