it's amazing, how could i've missed that functionality of the logic: present
tag??!?!

thanks, guys, sometime the obvious is too near to see it!

kr,
guenther


--
Günther Wieser

creative-it
Guglgasse 6/1/11/1
A-1110 Wien
Austria
http://www.creative-it.com


-----Original Message-----
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 <logic:present> (and
<logic:notPresent>) 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 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 <c:if test=${...}> or anything 
>else i could use as a tag to do this? do i need to implement this on my
own?
>
>kr,
>guenther
>
>--
>Günther Wieser
>
>creative-it
>Guglgasse 6/1/11/1
>A-1110 Wien
>Austria
>http://www.creative-it.com


--
Joe Germuska
[EMAIL PROTECTED]
http://blog.germuska.com
"Narrow minds are weapons made for mass destruction"  -The Ex

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