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
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: 3479

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)
 
 
subject: How to call isUserInRole() within rendered property?