If I have 2 roles
"admin" and "user"

<definition name=".page.home.page" extends="base.definition" role="admin">

If  my Action forward path is ".page.home.page" for "user" role
what would be the state of application.
Can I declaratively specify to navigate specific page/tiles definition with
message

Example
"user" has not access to this page


-----Original Message-----
From: João [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 25, 2006 6:05 PM
To: 'Struts Users Mailing List'; [EMAIL PROTECTED]
Subject: RE: Role based Tiles


Looking at tiles dtd you find that you have a role attribute on definition
element.
Another way of controlling what appears is using the role attribute on
tiles:put tag.

-----Original Message-----
From: Raghuveer [mailto:[EMAIL PROTECTED]
Sent: terça-feira, 25 de Abril de 2006 11:44
To: user@struts.apache.org
Subject: Role based Tiles


In  my web application i have  2 roles.

For each role there should be different header and footer.
How to implement this in struts tiles ?
I am using struts 1.2.8

---------------------------------
Raghu






---------------------------------------------------------------------
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]

Reply via email to