Class AjaxBehaviors

java.lang.Object
com.sun.faces.component.behavior.AjaxBehaviors
All Implemented Interfaces:
Serializable

public class AjaxBehaviors extends Object implements Serializable

An instance of the class is used to manage AjaxBehavior instances.

Since:
2.0
See Also:
  • Constructor Details

    • AjaxBehaviors

      public AjaxBehaviors()
  • Method Details

    • getAjaxBehaviors

      public static AjaxBehaviors getAjaxBehaviors(FacesContext context, boolean createIfNull)
    • addBehaviors

      public void addBehaviors(FacesContext context, ClientBehaviorHolder behaviorHolder)
    • pushBehavior

      public void pushBehavior(FacesContext context, AjaxBehavior ajaxBehavior, String eventName)

      Push the AjaxBehavior instance onto the List.

      Parameters:
      context - the faces context
      ajaxBehavior - the AjaxBehavior instance
      eventName - the name of the event that the behavior is associated with.
      Since:
      2.0
    • popBehavior

      public void popBehavior()

      Pop the last AjaxBehavior instance from the List.

      Since:
      2.0