David Winterfeldt wrote:

> Role was recently added to the logic:present tag
> (thanks), but it would be nice if there was some way
> to check for multiple roles.  Either by comma
> delimiting the String or passing in a String[],
> Collection, or anything else if someone can think of a
> better way.
>

You can do an "and" by nesting:

    <logic:present role="admin">
        <logic:present role="manager">
            User is an admin and a manager
        </logic:present>
    </logic:present>

so I assume you are talking about implementing an "or" check, right?

>
> David Winterfeldt
>

Craig


Reply via email to