]
Ken Finnigan updated SEAMINTL-57:
---------------------------------
Fix Version/s: 3.2.0.Alpha1
Select Message Interface by Locale
----------------------------------
Key: SEAMINTL-57
URL:
https://issues.jboss.org/browse/SEAMINTL-57
Project: Seam International
Issue Type: Enhancement
Components: Locales, Messages
Reporter: Ken Finnigan
Assignee: Ken Finnigan
Fix For: 3.2.0.Alpha1
If a developer Injects a message interface and then does
BlahMessages.helloWorld("Brian"); how does that become localized to either the
App locale or the Client locale?
For App locale, could specify developer adds @Locale('fr') to message interface
injection point
For Client locale, above approach doesn't work. Need to have a wrapper class around
the various locale specific message interfaces that the developer would inject to use, and
then when called would call the appropriate locale specific version.
Something like:
class MessagesWrapper<BlahMessage> {}
with a way to specify which locales are supported in that wrapper, so it knows possible
locale specific interfaces it would require, and then it uses the @Client @Locale to
retrieve the correct localized message
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: