I want to internationalize definitions in Tiles. 
Consider the following definitions in a tiles
configuation file:

 <definition name="layout" path="/layout.jsp">
    <put name="title" value="Default" />
    <put name="header" value="/header.jsp" />
 </definition>

<definition name="index" extends="layout">
  <put name="title" value="Index" />
</definition>

I would like to internationalize the title values.  I
know I can create a tiles configuration file for each
language; however, these files would mostly be
duplicates of one another with only the titles changed
so maintenance would be difficult.  What's the best
way to solve this?  Is there some way to make
something like the following work?

 <definition name="layout" path="/layout.jsp">
    <put name="title" value=<bean:message
key="tile.layout">/>
    <put name="header" value="/header.jsp" />
 </definition>

Thanks.

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to