• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

i18n for the label of ui:textField

 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Arch enemy? I mean, I don't like you, but I don't think you qualify as "arch enemy". Here, try this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic