if you use j2ee security something like this would work:
<logic:present role="admin">
<tiles:insert definition="layout.admin" >
<tiles:put name="title" value="Title here" />
<tiles:put name="content" value="admin.jsp" />
</tiles:insert>
</logic:present>
<logic:present role="user">
<tiles:insert definition="layout.user" >
<tiles:put name="title" value="Title here" />
<tiles:put name="content" value="user.jsp" />
</tiles:insert>
</logic:present>
Ben
-----Original Message-----
From: Anderson, James H [IT] [mailto:[EMAIL PROTECTED]
Sent: 11 februari 2004 14:18
To: Struts Users Mailing List
Subject: question regarding dynamic Tile capability
We want to display different tiles, depending on the characterics of a logged-in user.
In other words, some users would see one tile, others another. Is this possible? If
so, could someone please send me a short code sample?
Thanks very much,
jim
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]