You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by teknokrat <te...@yahoo.com> on 2003/05/15 18:20:13 UTC

tiles definition question

I would like to do the following

<definition name="menu.main" path="menuLayout.jsp">
     <putList name="menu" >
	<add value="menu.logoff" type="definition"/>
     </putList>
</definition>

<definition name="menu.logoff" path="" >
     <putList name="items" >
	<item value="[LOG OFF]" link="/admin/logon.do?action=logoff"
	classtype="org.apache.struts.tiles.beans.SimpleMenuItem" />
     </putList>
</definition>


However when I try to display main.menu instead of getting and item of 
type SimpleMenuItem I get the string "menu.logoff". Is there a way I can 
use tiles to define reusable menu items?

thanks



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