public class AjaxBehaviors
extends java.lang.Object
implements java.io.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.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.view.facelets.FaceletContext ctx,
AjaxBehaviorHandler handler,
java.lang.String eventName)
Push the
AjaxBehavior into scope making it available
for subsequent calls to #getBehaviorForEvent. |
public static AjaxBehaviors getAjaxBehaviors(javax.faces.context.FacesContext context, boolean createIfNull)
public void addBehaviors(javax.faces.component.behavior.ClientBehaviorHolder behaviorHolder)
public void pushBehavior(javax.faces.view.facelets.FaceletContext ctx,
AjaxBehaviorHandler handler,
java.lang.String eventName)
Push the AjaxBehavior into scope making it available
for subsequent calls to #getBehaviorForEvent.
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 2014 ICEsoft Technologies Canada Corp., All Rights Reserved.