tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Petrelli <antonio.petre...@gmail.com>
Subject Re: Tiles 2.0.x
Date Sun, 15 Nov 2009 13:08:24 GMT
2009/11/15 Chris Cranford <crancran@gmail.com>:
> <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

Mime
View raw message