This content has been marked as final.
Show 2 replies
-
1. Re: isUserInRole doesnt work in jsp
hubertg Sep 28, 2006 4:31 AM (in response to hubertg)ok, my fault:
i have to use portletRequest variable instead of request.
and therefore I have to insert the defineObjects tag.
this works now (returns true as is should):<portlet:defineObjects/> <% out.println("jsp in role : " + renderRequest.isUserInRole("student")); %>
-
2. Re: isUserInRole doesnt work in jsp
ludovic.bert May 16, 2007 3:58 AM (in response to hubertg)Thanks this topic solves my problem/error.