|
RichFaces UI Components UI 4.2.2.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.richfaces.function.RichFunction
public final class RichFunction
Created 20.03.2008
Nested Class Summary | |
---|---|
protected static interface |
RichFunction.ComponentLocator
|
Method Summary | |
---|---|
static String |
clientId(String id)
The rich:clientId('id') function returns the client identifier related to the passed component identifier ('id'). |
static String |
component(String id)
The rich:component('id') function is equivalent to the RichFaces.$('clientId') code. |
static String |
element(String id)
The rich:element('id') function is a shortcut for the equivalent document.getElementById(#{rich:clientId('id')}) code. |
static javax.faces.component.UIComponent |
findComponent(String id)
The rich:findComponent('id') function returns the a UIComponent instance of the passed component identifier. |
static boolean |
isUserInRole(Object rolesObject)
The rich:isUserInRole(Object) function checks whether the logged-in user belongs to a certain user role, such as being an administrator. |
static String |
toScript(Object o)
Convert any Java Object to JavaScript representation ( as possible ). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String clientId(String id)
public static String component(String id)
public static String element(String id)
public static javax.faces.component.UIComponent findComponent(String id)
public static boolean isUserInRole(Object rolesObject)
The rich:isUserInRole(Object) function checks whether the logged-in user belongs to a certain user role, such as being an administrator. User roles are defined in the web.xml settings file.
public static String toScript(Object o)
|
RichFaces UI Components UI 4.2.2.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |