[
https://issues.jboss.org/browse/SEAMINTL-57?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ken Finnigan updated SEAMINTL-57:
---------------------------------
Original Estimate: 4 hours
Remaining Estimate: 4 hours
> 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
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> 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:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
seam-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/seam-issues