[JBoss JIRA] Closed: (JBSEAM-178) Cascading Message Bundles
by Gavin King (JIRA)
[ http://jira.jboss.com/jira/browse/JBSEAM-178?page=all ]
Gavin King closed JBSEAM-178.
-----------------------------
Resolution: Done
I'm happy with this, for now.
> Cascading Message Bundles
> -------------------------
>
> Key: JBSEAM-178
> URL: http://jira.jboss.com/jira/browse/JBSEAM-178
> Project: JBoss Seam
> Issue Type: Feature Request
> Components: JSF
> Reporter: James Woodward
> Assigned To: Gavin King
> Fix For: 1.1
>
>
> Would it be possible to get the Seam i18n features to scan for multiple resource bundles, so that common resources can be shared across mutliple applications?
> Here's a few ways this could be accomplished:
> 1) Rename the default bundle "messages.properties" to "seam-messages.properties", and scan for multiple seam-messages.properties in the EAR.
> 2) Add a new property name, or change the resourceBundle.bundleName property, to handle a delimited list of resourceBundles. So the default implementation uses a single bundle "messages.properties", but by adding a configuration property you can get it to scan multiple resource bundles in the order specified.
> e.g.
> resourceBundle.bundleName=Messages.properties,GlobalMessages.properties
> 3) Implement a cascading scheme, similar to the sample posted in the forum.
--
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
18 years, 2 months
[JBoss JIRA] Commented: (JBSEAM-178) Cascading Message Bundles
by Gavin King (JIRA)
[ http://jira.jboss.com/jira/browse/JBSEAM-178?page=comments#action_12344833 ]
Gavin King commented on JBSEAM-178:
-----------------------------------
Done the delimited bundle names.
> Cascading Message Bundles
> -------------------------
>
> Key: JBSEAM-178
> URL: http://jira.jboss.com/jira/browse/JBSEAM-178
> Project: JBoss Seam
> Issue Type: Feature Request
> Components: JSF
> Reporter: James Woodward
> Assigned To: Gavin King
> Fix For: 1.1
>
>
> Would it be possible to get the Seam i18n features to scan for multiple resource bundles, so that common resources can be shared across mutliple applications?
> Here's a few ways this could be accomplished:
> 1) Rename the default bundle "messages.properties" to "seam-messages.properties", and scan for multiple seam-messages.properties in the EAR.
> 2) Add a new property name, or change the resourceBundle.bundleName property, to handle a delimited list of resourceBundles. So the default implementation uses a single bundle "messages.properties", but by adding a configuration property you can get it to scan multiple resource bundles in the order specified.
> e.g.
> resourceBundle.bundleName=Messages.properties,GlobalMessages.properties
> 3) Implement a cascading scheme, similar to the sample posted in the forum.
--
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
18 years, 2 months