dear folks,
I know that I can insert an attribute into a  jsp page
by using tiles:insert and tiles put as the following:
 <tiles:insert page="/basic/myLayout.jsp"
flush="true">
            <tiles:put name="param1"  value="My first
page" />
             <tiles:put name="nav" value="/common/nav.jsp" />

</tiles:insert>
but what if I want to get the value of this attribute
from one of its sub jsp pages(eg. nav.jsp)
I have tried using <tiles:importAttribute
scope="request"/> to import all the tiles attributes
into the request scope.  But it doesn't seem like the
attributes get imported into the request scope
when I print out all the attribute names from the
request as the following in nav.jsp:
 <tiles:importAttribute scope="request"/>
<%
        Enumeration e=request.getAttributeNames();
        while(e.hasMoreElements()){
                out.println(e.nextElement()+ " <>");
        }
 %>
neither was I able to use<bean:write name="param1"/>
in nav.jsp

what's wrong?

thanks




        
                
__________________________________ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/

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

Reply via email to