List Info

Thread: Role based Tiles




Role based Tiles
user name
2006-04-25 14:51:36
I think you can't do that with tiles. Maybe with a
controller but not
declaratively :(

-----Original Message-----
From: Raghuveer [mailto:raghuveervinfotechsw.com] 
Sent: terça-feira, 25 de Abril de 2006 15:29
To: 'João'; 'Struts Users Mailing List'
Subject: RE: Role based Tiles

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

{WindowsXp Group} Re: Multi-Platform testing in Config.sys, how?
user name
2006-04-24 22:04:00
Our math compiler was written in the '60s & '70s then
in 1984 converted
for a PC. Funds for converting it to Windows doesn't exist
thus DOS
only choice.

Phil


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Windows XP" group.
To post to this group, send email to helpwinxpgooglegroups.com
To unsubscribe from this group, send email to
helpwinxp-unsubscribegooglegroups.com
For more options, visit this group at http://group
s.google.com/group/helpwinxp
-~----------~----~----~----~------~----~------~--~---

[1-2]

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