commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kees Broenink" <>
Subject [JXPath] userInRole does not seem to work
Date Mon, 28 Feb 2005 18:03:04 GMT
I have a question about the request method isUserInRole (String role).
What would be the right jxpath expression to get this function do its
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:
All the other request variables seem to work correctly.
Thanks for your help,

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message