Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

i18n for the label of ui:textField

Sylven Yip
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
[ December 14, 2007: Message edited by: Sylven Yip ]
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic