0

i m giving user ability to choose locale (say en_US and en_UK) . and i want to see date and amount fields with respect to locale foe whole application. no hard (coded strings).

can u please tell me how to do that . how to set locale for user in facescontext of JSF web application.

Thanks

  • http://stackoverflow.com/questions/14373153/how-to-set-the-locale-programmatically-in-jsf?lq=1, http://stackoverflow.com/questions/5388426/jsf-2-0-set-locale-throughout-session-from-browser-and-programmatically?rq=1, or really, a google search – kolossus Nov 26 '14 at 20:28
  • i all ready tried those solutions but didn't work.. – Pankaj Patil Feb 03 '15 at 11:09
  • i bulit locale using localebuilder (java) and then assigned to application .. it finally worked – Pankaj Patil Feb 03 '15 at 11:10

0 Answers0