List Info

Thread: Role based Tiles




Role based Tiles
user name
2006-04-25 14:29:06
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:joao.luzgmail.com]
Sent: Tuesday, April 25, 2006 6:05 PM
To: 'Struts Users Mailing List'; raghuveervinfotechsw.com
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:raghuveervinfotechsw.com]
Sent: terça-feira, 25 de Abril de 2006 11:44
To: userstruts.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: user-unsubscribestruts.apache.org
For additional commands, e-mail: user-helpstruts.apache.org


------------------------------------------------------------
---------
To unsubscribe, e-mail: user-unsubscribestruts.apache.org
For additional commands, e-mail: user-helpstruts.apache.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )