First of all, version of Tiles?

2010/2/9 Mck <[email protected]>:
>    <definition name="vertical.motor" template="/WEB-INF/blank.jsp">
>        <put-attribute name="description" 
> value="/WEB-INF/tiles/vertical/motor/description.jsp" cascade="true"/>
>    </definition>
>...
> The explicit definition i use here is "advert.motor.car"
> so my template is /WEB-INF/tiles/templates/motor_template.jsp
> and looks like
>
> <html>
> ...
>    <tiles:insertAttribute name="description"/>

The description attribute is available from "vertical.motor"
definition to all *included* definitions, not definitions that include
it.
I suppose that to accomplish what you want to do is using a preparer.

Antonio

Reply via email to