|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.richfaces.renderkit.util.CoreAjaxRendererUtils
public final class CoreAjaxRendererUtils
| Field Summary | |
|---|---|
static String |
AJAX_PROCESS_ATTRIBUTE
|
static String |
AJAX_REGIONS_ATTRIBUTE
|
static String |
DATA_ATTR_NAME
|
static String |
LIMITRENDER_ATTR_NAME
Attribute to keep |
static String |
ONBEFOREDOMUPDATE_ATTR_NAME
Attribute for keep JavaScript function name for call before updating DOM tree. |
static String |
ONCOMPLETE_ATTR_NAME
Attribute for keep JavaScript function name for call after complete request. |
| Method Summary | |
|---|---|
static Set<String> |
asIdsSet(Object valueToSet)
|
static Set<String> |
asSimpleSet(Object valueToSet)
|
static Set<String> |
getAjaxAreas(javax.faces.component.UIComponent uiComponent)
Get list of clientId's for given component |
static Set<String> |
getAjaxAreasToProcess(javax.faces.component.UIComponent component)
Returns set of areas to be processed as a result of this component action invocation |
static Object |
getAjaxData(javax.faces.component.UIComponent component)
|
static String |
getAjaxOnBeforeDomUpdate(javax.faces.component.UIComponent component)
Get function name for call before update DOM. |
static String |
getAjaxOncomplete(javax.faces.component.UIComponent component)
Get function name for call on completed ajax request. |
static boolean |
isAjaxLimitRender(javax.faces.component.UIComponent component)
Calculate, must be component render only given areas, or all sended from server. |
static void |
renderAjaxExtensions(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ONBEFOREDOMUPDATE_ATTR_NAME
public static final String ONCOMPLETE_ATTR_NAME
public static final String DATA_ATTR_NAME
public static final String LIMITRENDER_ATTR_NAME
public static final String AJAX_PROCESS_ATTRIBUTE
public static final String AJAX_REGIONS_ATTRIBUTE
| Method Detail |
|---|
public static void renderAjaxExtensions(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
throws IOException
IOExceptionpublic static Set<String> getAjaxAreas(javax.faces.component.UIComponent uiComponent)
uiComponent -
public static Set<String> getAjaxAreasToProcess(javax.faces.component.UIComponent component)
component -
public static Set<String> asSimpleSet(Object valueToSet)
public static Set<String> asIdsSet(Object valueToSet)
public static boolean isAjaxLimitRender(javax.faces.component.UIComponent component)
component -
true if client must render ONLY given areas.public static String getAjaxOncomplete(javax.faces.component.UIComponent component)
component - for wich calculate function name
nullpublic static String getAjaxOnBeforeDomUpdate(javax.faces.component.UIComponent component)
component - for wich calculate function name
nullpublic static Object getAjaxData(javax.faces.component.UIComponent component)
component -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||