You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Kees Broenink <ke...@backbase.com> on 2005/02/28 19:03:04 UTC
[JXPath] userInRole does not seem to work
Hi!
I have a question about the request method isUserInRole (String role).
What would be the right jxpath expression to get this function do its
job?
I have tried a lot of things like:
userInRole/role='role1' returns false but should return true
because the user is in this role
userInRole/@role='role1' idem
userInRole/name='role1' idem
userInRole/@name='role1' idem
By the way I am using commons/jxpath inside Cocoon with the Reuqest
Input module. So in fact I am doing:
{request:userInRole/role='role'}
All the other request variables seem to work correctly.
Thanks for your help,
Kees