[
http://jira.jboss.com/jira/browse/JBSEAM-178?page=all ]
Gavin King updated JBSEAM-178:
------------------------------
Component/s: JSF
(was: Core)
Fix Version/s: 1.1
Priority: Major (was: Minor)
The delimiited set of bundle names is great.
I'm wondering if it also makes sense to support messages_foo.properties where /foo.jsp
is the current viewId.
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
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