From: Joe Germuska [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 03, 2005 6:00 PM
To: Günther Wieser; 'Struts Users Mailing List'
Subject: Re: [OT] how to test user role in jsp
You can use (and
) to conditionally evaluate the user's role:
http://struts.apache.org/userGuide/struts-log
You can use (and
) to conditionally evaluate the
user's role:
http://struts.apache.org/userGuide/struts-logic.html#present
Joe
At 4:44 PM +0200 5/3/05, Günther Wieser wrote:
hi,
sorry for posting something that's very likely not really related to struts
(but maybe it is, who knows), but coudn't
Günther Wieser wrote the following on 5/3/2005 10:44 AM:
i would like to display a link depending if a user is in a certain role. is
there a test i could use in or anything else i could use
as a tag to do this? do i need to implement this on my own?
I like the Struts logic present tag for this:
.
uld access the roles array within the principal (within the
request)?
-Original Message-
From: Günther Wieser [mailto:[EMAIL PROTECTED]
Sent: 03 May 2005 15:44
To: 'Struts Users Mailing List'
Subject: [OT] how to test user role in jsp
hi,
sorry for posting something th
You can use the logic present/notPresent tags.
.
http://struts.apache.org/userGuide/struts-logic.html#present
Niall
- Original Message -
From: "Günther Wieser" <[EMAIL PROTECTED]>
Sent: Tuesday, May 03, 2005 3:44 PM
i would like to display a link depending if a user is in
hi,
sorry for posting something that's very likely not really related to struts
(but maybe it is, who knows), but coudn't find anything on the net.
i would like to display a link depending if a user is in a certain role. is
there a test i could use in or anything else i could use
as a tag to do
6 matches
Mail list logo