Antonio Petrelli-3 wrote:
> 
> Strange, if you have in layout.jsp:
> 
> <t:insertAttribute name="tiles.page">
>  <t:putAttribute name="tilesSiteName">
>    <t:getAsString name="site.name" />
>  </t:putAttribute>
> </t:insertAttribute>
> 
> and in "tilespage.jsp":
> 
> <tiles:getAsString name="tilesSiteName" />
> 
> it should work.
> 
> Does it raise an exception? If yes please post it here.
> 
> Antonio
> 
> 

This part works but the line in layout.jsp

<t:getAsString name="site.name" />

does not. In the putAttribute context there is no "site.name" available from
the definition context.

And that's the problem: How do get an attribute from the definition context
to the tiles context?

thx,
Stefan
-- 
View this message in context: 
http://www.nabble.com/Dynamic-attribute-value-tp16558224p16579931.html
Sent from the tiles users mailing list archive at Nabble.com.

Reply via email to