All,
I am using Struts Tiles to layout my site. I have a vboxmenu design which
contains 4 menu levels:
<definition name="doc.menu.main" path="/common/jsp/layout/vboxLayout.jsp" >
<putList name="list" >
<add value="common.menu.home" />
<add value="common.menu.authenticated"/>
<add value="common.menu.admin" />
<add value="common.menu.logout" />
</putList>
</definition>
I am wanting to control when the Authenticated menu and the Admin Menu are
displayed. For example, only display the admin menu if the user is in the
Admin Role. I know that the taglib tld has a role attribute, but the dtd
for tiles-def does not. Has anyone created anything simular with tiles?