« Return to Thread: Selecting a jsp according to locale

Re: Selecting a jsp according to locale

by Antonio Petrelli-3 :: Rate this Message:

Reply to Author | View in Thread

2008/5/13 Dimitris Mouchritsas <dimitris.mouchritsas@...>:
> Hi all,
>  I want to show a system requirements page according to the web page's
> locale.
>  Can I use the tiles-defs.xml to do it or I need to write code in a jsp?

You can use the Tiles-included locale support. You need simply to add
the locale code in the file name. For example, if you have
"tiles-defs.xml", you need to create a new "tiles-defs_it_IT.xml" for
Italian locale, defining only the different definitions.

HTH
Antonio

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...

 « Return to Thread: Selecting a jsp according to locale

LightInTheBox - Buy quality products at wholesale price