posted 14 years ago
I have a web app built by JSF2, with English and French versions of pages.
I created a wrapper.xhtml as the template page, defined header, content, and footer pages
Then I created a helper page that uses this wrapper as the template.
'msgs.glossaryLink' contains the links for helper pages for English and French, which points to 2 different pages in different path
If I clicks from other page to come to this help page, it's loaded fine. But when I clicks the link for switching language link (in the header) in this helper page alone, the content portion, which is the file for English or French, is loaded one step behind, or I have to refresh the page in order for the content to match the header's locale.
Does this mean I cannot do internationlization in the facelet itself, or what's wrong with this behavior?
Thanks.
SCJA, SCJP5.0, SCBCD, SCWCD