From: "Vijay K Anand" <[EMAIL PROTECTED]>

I want to have attribute page be dynamically loaded from bean:message like
<tiles:insert page="<bean:message key="commont.header"/>" flush="true" />

Nesting JSP tags like that will not work. The usual workaround is to use expressions.

Instead of putting the information in ApplicationResources.properties and trying to get it with <bean:message>, what about defining the tiles in tiles_defs.xml? Then use the 'definition' attribute instead of 'page' in <tiles:insert>. (Or, depending on what else is going on, just forward straight to a tiles definition.)

See the tiles-documentation.war that ships with Struts for more information.

--
Wendy Smoak


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

Reply via email to