public class AjaxBehaviors extends Object implements Serializable
An instance of the class is used to
manage AjaxBehavior instances.
| Modifier and Type | Class and Description |
|---|---|
static class |
AjaxBehaviors.BehaviorInfo |
| Constructor and Description |
|---|
AjaxBehaviors() |
| Modifier and Type | Method and Description |
|---|---|
void |
addBehaviors(javax.faces.context.FacesContext context,
javax.faces.component.behavior.ClientBehaviorHolder behaviorHolder) |
static AjaxBehaviors |
getAjaxBehaviors(javax.faces.context.FacesContext context,
boolean createIfNull) |
void |
popBehavior()
Pop the last
AjaxBehavior instance
from the List. |
void |
pushBehavior(javax.faces.context.FacesContext context,
javax.faces.component.behavior.AjaxBehavior ajaxBehavior,
String eventName)
Push the
AjaxBehavior instance onto the List. |
public static AjaxBehaviors getAjaxBehaviors(javax.faces.context.FacesContext context, boolean createIfNull)
public void addBehaviors(javax.faces.context.FacesContext context,
javax.faces.component.behavior.ClientBehaviorHolder behaviorHolder)
public void pushBehavior(javax.faces.context.FacesContext context,
javax.faces.component.behavior.AjaxBehavior ajaxBehavior,
String eventName)
Push the AjaxBehavior instance onto the List.
ajaxBehavior - the AjaxBehavior instanceeventName - the name of the event that the behavior is associated
with.public void popBehavior()
Pop the last AjaxBehavior instance
from the List.
Copyright © 2010–2019 JBoss by Red Hat. All rights reserved.