I got this fixed by downloading the latest nightly build and grabbing the
PresentTag.java file.

Thanks,

Matt

--- Matt Raible <[EMAIL PROTECTED]> wrote:
> I think I found a bug in the logic:present tag as documented below:
> 
> PresentTag.java, line 151:
> changed from:
> 
>       present = request.isUserInRole(role);
> 
> Where role is a string.
> 
> If I pass in a comma-delimited list, the tag checks for
>
isUserInRole("TimeTrackerAdministrator,TimeTrackerSupervisor,TimeTrackerEmployee")
> 
> and it doesn't find them.
> 
> I propose either (1) changing the ConditionalBaseTag.java and PresentTag.java
> to accept role as a String[] array, or (2) parse the string looking for
> commas
> in PresentTag.java.
> 
> Please let me know how to proceed from here.
> 
> Matt
> 
>
--------------------------------------------------------------------------------
> 
> From: Matt Raible 
> Subject: <logic:present role="..." > 
> Date: Tue, 11 Sep 2001 17:03:40 -0700 
> 
>
--------------------------------------------------------------------------------
> 
> I have the following statement that seems to work fine for the
> "TimeTrackerAdministrator" role, but not for the Employee role - any ideas?
> 
> <strutslogic:present
> role="TimeTrackerAdministrator,TimeTrackerSupervisor,TimeTrackerEmployee">
> 
> </strutslogic:present>
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
> http://im.yahoo.com


__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

Reply via email to