Hello, I am trying to have an entity bean return different messages based on the user's preferred locale, based on settings in the user's profile, cookie, browser preferences, and default locale, in that order. I am currently just making a singleton localizer class that accesses the facescontext like this:
FacesContext context = FacesContext.getCurrentInstance(); Locale requestLocale = context.getExternalContext().getRequestLocale(); Is there a 'Seam way' of doing this? I noticed a Seam FacesContext in the api docs. Or is there a smarter way of handling i18n with Seam altogether? Thanks for building such a promising framework, keep it up! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921677#3921677 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921677 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
