aspose file tools*
The moose likes JSF and the fly likes How to call isUserInRole() within rendered property? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "How to call isUserInRole() within rendered property?" Watch "How to call isUserInRole() within rendered property?" New topic
Author

How to call isUserInRole() within rendered property?

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3476

Hi.
I want to render a command button only if the user is in role "SALES"
<h:commandButton rendered="" />
How to call something like isUserInRole() within rendered property?
Any better solution?
Thanks.
Richard Green
Ranch Hand

Joined: Aug 25, 2005
Posts: 536


MCSD, SCJP, SCWCD, SCBCD, SCJD (in progress - URLybird 1.2.1)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to call isUserInRole() within rendered property?
 
Similar Threads
rich:modalPanel display problem
dataTable problem
How get all User's roles in JSP/Servlet?
can anybody help ??
AJAX based form submission with JMaki/JSF..