struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aladin Alaily <str...@aladin.ca>
Subject Re: Doofus tiles question - problem nesting
Date Sat, 15 Apr 2006 16:58:48 GMT
Rick Reumann wrote:

> Rick Reumann wrote:
> 
>> mainLayout...
>> ----------
>>
>> <tiles:insert attribute="header">
>>     <tiles:put name="links" content="page_links"/> ??? I'm probably 
>> doing this wrong
>> </tiles:insert>
>>
> 
> I needed to do it this way and it works!:
> 
> <tiles:insert attribute="header">
>     <tiles:put name="links" beanName="page_links" beanScope="tile"/>
> </tiles:insert>
> 
> After I do that, my header.jsp that is included as a tile in my 
> mainLayout can just do:
> 
> <tiles:insert attribute="links"/>
> 
> 
> (I must say the docs on this Tiles stuff are not that great.. 
> fortunately I found Rick Hightower's PDF which seems to be helping a lot:
> http://www.arc-mind.com/downloads_protected/tutorials/struts/advanced-tiles.pdf 
> )
> 
Glad to hear you've figured it out.

Thanks for the link.

Aladin

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message