tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kyo Suayan <ksuayan_li...@yahoo.com>
Subject Correct visibility for definition attribute?
Date Thu, 31 Jan 2008 03:59:14 GMT
Q: Is this the expected behaviour? 

Given a definition like this:

<definition name="main.def"
template="/WEB-INF/layout.jsp">
<put-attribute name="description" value="Page
description here"/>
<put-attribute name="title" value="Document Page
Title"/>
<put-attribute name="banner"
value="/WEB-INF/banner.jsp"/>
</definition>

For some reason, I am only able to access the values
of the attributes I set from the layout template (i.e.
layout.jsp below). 


If I use insertAttribute tile tags inside banner.jsp,
the values come out as null.

I understand this must be a very fundamental question
but I appreciate your patience. What i'd like to be
able to do is pull the "description" and "title"
attributes using insertAttribute tags from within
banner.jsp. 

Thank you.

-kyo-


.................................................
e-mail: kyo@suayan.com   icq:2091387   ym:ksuayan
http://www.suayan.com/kyo   san mateo, california


      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ



Mime
View raw message