aspose file tools
The moose likes JSF and the fly likes i18n for the label of ui:textField Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "i18n for the label of ui:textField" Watch "i18n for the label of ui:textField" New topic
Author

i18n for the label of ui:textField

Sylven Yip
Ranch Hand

Joined: Aug 30, 2007
Posts: 42
hi.
i have a difficulty in i18n my app.
My JSF app can change locale dymaticly on the web page.when click the correspond button,change the locale store in SessionBean(SessionBean.locale).

my jsf page such as follow:

all the component's character can change dymaticlly by locale except all the <ui:textField> 's label,they only shows the character with the first locale.
that means:

when i set<f:view locale="en_UK"> it shows english

when i set<f:view locale="ko_KR"> it shows Korea

but when i set<f:view locale="#{SessionBean.locale}">

they can't change dymaticlly while orther components can change the character whenever i click the button.

does anybody konw why?
thanks.
[ December 14, 2007: Message edited by: Sylven Yip ]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: i18n for the label of ui:textField
 
Similar Threads
JSF 2 - Internationalization - Message Resources
Problem with localization (MyFaces and JSTL)
i18n with facelets
Struts 2 i18n problem
Struts: The Complete Reference - Internationalizaion ???