Re: More Tiles and Definitions problems

2005-09-29 Thread Greg Reddin
On Sep 29, 2005, at 11:22 AM, Graham Reeds wrote: Is there any plans to extend tiles so the attributes are propagated to jsp's defined as attributes for 1.3x? I thought about that last night as I was working up an example for your question. It would be cool if you could pass a Tiles defini

Re: More Tiles and Definitions problems

2005-09-29 Thread Graham Reeds
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 tag (when you remove the ignore="true", struts is actually throwing an

Re: More Tiles and Definitions problems

2005-09-28 Thread Greg Reddin
On Sep 28, 2005, at 7:39 PM, Guillermo Castro wrote: In order to do what you want you have to define your tiles as: At the risk of stating the obvious, if you want your title to be specified in the extended definition you can do it like this: Then you

Re: More Tiles and Definitions problems

2005-09-28 Thread Guillermo Castro
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 tag (when you remove the ignore="true", struts is actually throwing an exception, that's why you

More Tiles and Definitions problems

2005-09-28 Thread Graham Reeds
I have my pages defined in tiles-defs.xml thus: mainLayout.jsp is: <%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %> Test.jsp is: <%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %> So following the from the click of the link to Test.jsp. The tiles for