Guillermo Castro wrote:
Contrary to popular belief, tiles attributes are not propagated to
jsp's defined as attributes. It means that _header.jsp doesn't have
any information about a tile attribute 'title', thus ignoring the
<tiles:getAsString/> tag (when you remove the ignore="true", struts is
actually throwing an exception, that's why you get a blank page).

I guessed that something was wrong but usually when an error occurs you get slightly more than a blank page. Running it through on debug just jumps when it gets to the <tiles:getAsString/> tag.

Is there any plans to extend tiles so the attributes are propagated to jsp's defined as attributes for 1.3x?

Also anything else to watch out for in a similar vein?

In order to do what you want you have to define your tiles as:
...snip...

Hope this helps.


That it does - thanks!

Graham Reeds.


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

Reply via email to