I have created a simple application that uses 2 languages - english and polish. I want to set locale with html link for myfaces and jstl tags.
The problem is that when i press the link, it only changes the messages outputed by
jsf tags. The jstl messages remain unchanged.
The locale is changing (checked with c:out) but messages aren`t.
The funniest thing happends when i change language to english and check the chceckbox - All messages change to english and the jstl locale variable is emptied (c:out doesn`t write anything out).
This example worked with jsf1.1.5 but it doesn`t work with jsf 1.2.
Can any one tell me why??
I enclose the code of this example:
welcome.jsp
User.java
faces-config.xml
I`ve tried to download new jstl.jar and standard.jar, add tlds and declarations in web.xml but it didn`t help.
If anyone knows answer to this mystery please help.