And by upgrading to 2.1.4 Tiles, that means I define it as cascade in
my definition and I can use it in header.jsp without any other special
work?

On Sun, Nov 15, 2009 at 7:08 AM, Antonio Petrelli
<[email protected]> wrote:
> 2009/11/15 Chris Cranford <[email protected]>:
>> <tiles:insertAttribute name="header">
>>  <tiles:putAttribute name="title"><tiles:getAsString
>> name="title"/></tiles:putAttribute>
>> </tiles:insertAttribute>
>
> Change it into:
>
> <tiles:importAttribute name="title" />
> <tiles:insertAttribute name="header">
>  <tiles:putAttribute name="title"><c:out value="${title}"
> /></tiles:putAttribute>
> </tiles:insertAttribute>
>
> However, I suggest to upgrade to Tiles 2.1.x so you can use the
> cascaded attributes.
>
> Antonio
>

Reply via email to