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

JSF and internationalization

bada Bos
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hello evry body,
to change the local of my web application i've done the code below :

public void processChangeLocal(ValueChangeEvent event){
Locale newLocal = new Locale( (String)event.getNewValue());
FacesContext context = FacesContext.getCurrentInstance();

This method is called when the user changes the language. By my problem is only the local of the currente page changes.

i've done this in the faces-config :

Aravind M Jay
Posts: 15
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic