Alternately, just set your heading attribute in tiles-defs.xml to be "Search" or whatever you want, and in the /search.jsp file, use JSTL to prepend param.myValue. This would be pretty clean for simple scenarios.
Robert Taylor wrote:
Greetings, I have a tiles definition in my tiles-defs.xml similar to below:
<definition name="search" extends="layout"> <put name="heading" value="{0}Search" type="string" /> <put name="content" value="/search.jsp" type="page" /> </definition>
which I would like to be able to modify the "heading" value such that
at runtime I could substitute a value for {0}.
For example, it would be ideal to use a JSTL type of syntax such as:
<definition name="search" extends="layout"> <put name="heading" value="${param.myValue}Search" type="string" /> <put name="content" value="/search.jsp" type="page" /> </definition>
but this does not work.
robert
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Brice D. Ruth Sr. IT Analyst Fiskars Brands, Inc.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]