Class AutoUpdateListener
java.lang.Object
org.primefaces.component.autoupdate.AutoUpdateListener
- All Implemented Interfaces:
EventListener,javax.faces.event.ComponentSystemEventListener,javax.faces.event.FacesListener
public class AutoUpdateListener
extends Object
implements javax.faces.event.ComponentSystemEventListener
Registers components to auto update
-
Constructor Summary
ConstructorsConstructorDescriptionAutoUpdateListener(javax.el.ValueExpression disabled) AutoUpdateListener(javax.el.ValueExpression disabled, String on) -
Method Summary
Modifier and TypeMethodDescriptiongetAutoUpdateComponentInfos(javax.faces.context.FacesContext context) getOrCreateAutoUpdateComponentInfos(javax.faces.context.FacesContext context) voidprocessEvent(javax.faces.event.ComponentSystemEvent cse) static voidsubscribe(javax.faces.component.UIComponent component) static voidstatic voidsubscribe(javax.faces.component.UIComponent component, javax.el.ValueExpression disabled) static voidsubscribe(javax.faces.component.UIComponent component, javax.el.ValueExpression disabled, String on) protected static voidsubscribe(javax.faces.component.UIComponent component, javax.faces.event.ComponentSystemEventListener listener)
-
Constructor Details
-
AutoUpdateListener
public AutoUpdateListener() -
AutoUpdateListener
public AutoUpdateListener(javax.el.ValueExpression disabled) -
AutoUpdateListener
-
AutoUpdateListener
-
-
Method Details
-
processEvent
public void processEvent(javax.faces.event.ComponentSystemEvent cse) throws javax.faces.event.AbortProcessingException - Specified by:
processEventin interfacejavax.faces.event.ComponentSystemEventListener- Throws:
javax.faces.event.AbortProcessingException
-
getOrCreateAutoUpdateComponentInfos
-
getAutoUpdateComponentInfos
-
subscribe
public static void subscribe(javax.faces.component.UIComponent component) -
subscribe
-
subscribe
public static void subscribe(javax.faces.component.UIComponent component, javax.el.ValueExpression disabled) -
subscribe
public static void subscribe(javax.faces.component.UIComponent component, javax.el.ValueExpression disabled, String on) -
subscribe
protected static void subscribe(javax.faces.component.UIComponent component, javax.faces.event.ComponentSystemEventListener listener)
-