Developer Tools
JDeveloper
Menu items and page components are hidden in this application through the use of the following three expressions:
#{securityContext.userInRole['staff']}
This expression sets the Rendered property to true if the user has "staff" as one of their roles. In other words, the field will only be displayed to staff.
#{securityContext.authenticated}
We allow all authenticated users to access the products page, so we are going to display the link only to authenticated users.
#{securityContext.regionViewable['oracle.view.pageDefs.stockPageDef']}
This expression causes the link to be rendered only if the stock page (or more correctly its page def file) is viewable in the current security context.
Copyright © 1997, 2009, Oracle. All rights reserved.