You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.
| Online: | 13 Members of 9199 |
| Forum: Seam Users |
11. Mar 2010, 17:02 America/New_York | Link |
hi all! i think my question has a trivial solution in seam but i can't find it. so your thoughts are very appreciated. at present my webapp has got a select control to choose language/locale for displayed page. i would like to give a user a possibility to select language via url too. for example:
http://host.xxx/en/user/123
in the url above the part '/en/' of the url means that page should be displayed in english. any ideas hot to do that?
thanks :)
`
<rewrite pattern="/url/{language}"/>
<param name="language" />
<action excute="#{myLanguageModificator(param.language)}">
`
Please don't forget to rate!