> I always feel bad when I ask a question that is in the existing
> documentation.  
> 
> For others (unlike David) who do not have the documentation
> memorized, the "logic:present" tag will take a "role" attribute:
> 
> Checks whether the currently authenticated user (if any) has been
> associated with any of the specified security roles. Use a
> comma-delimited list to check for multiple roles. Example:
> <logic:present role="role1,role2,role3"> code..... </logic:present>
> 
> (RT EXPR) 

How would this be done with jstl?

<c:if test="${user.role == 'member'}"/>
???

not quite as easy, and is 'user' a page scoped variable or is
something else required.

Dan

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Daniel Allen, <[EMAIL PROTECTED]>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
"I'm old enough to know better, but still too young to care."
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to