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(FacesContext context,
ClientBehaviorHolder behaviorHolder) |
static AjaxBehaviors |
getAjaxBehaviors(FacesContext context,
boolean createIfNull) |
void |
popBehavior()
Pop the last
AjaxBehavior instance
from the List. |
void |
pushBehavior(FacesContext context,
AjaxBehavior ajaxBehavior,
String eventName)
Push the
AjaxBehavior instance onto the List. |
public static AjaxBehaviors getAjaxBehaviors(FacesContext context, boolean createIfNull)
public void addBehaviors(FacesContext context, ClientBehaviorHolder behaviorHolder)
public void pushBehavior(FacesContext context, 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 © 1997–2019 Eclipse Foundation. All rights reserved.