org.apache.myfaces.tobago.ajax.api
Class AjaxUtils

java.lang.Object
  extended by org.apache.myfaces.tobago.ajax.api.AjaxUtils

public class AjaxUtils
extends Object


Field Summary
static String AJAX_COMPONENTS
           
 
Constructor Summary
AjaxUtils()
           
 
Method Summary
static void checkParamValidity(FacesContext facesContext, UIComponent uiComponent, Class compClass)
           
static void encodeAjaxComponent(FacesContext facesContext, UIComponent component)
           
static void ensureDecoded(FacesContext facesContext, String clientId)
           
static void ensureDecoded(FacesContext facesContext, UIComponent component)
           
static Map<String,UIComponent> getAjaxComponents(FacesContext facesContext)
           
static Map<String,UIComponent> parseAndStoreComponents(FacesContext facesContext)
           
static void processActiveAjaxComponent(FacesContext facesContext, UIComponent component)
           
static void processAjax(FacesContext facesContext, UIComponent component)
           
static void processAjaxOnChildren(FacesContext facesContext, UIComponent component)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AJAX_COMPONENTS

public static final String AJAX_COMPONENTS
Constructor Detail

AjaxUtils

public AjaxUtils()
Method Detail

checkParamValidity

public static void checkParamValidity(FacesContext facesContext,
                                      UIComponent uiComponent,
                                      Class compClass)

encodeAjaxComponent

public static void encodeAjaxComponent(FacesContext facesContext,
                                       UIComponent component)
                                throws IOException
Throws:
IOException

processAjax

public static void processAjax(FacesContext facesContext,
                               UIComponent component)
                        throws IOException
Throws:
IOException

processActiveAjaxComponent

public static void processActiveAjaxComponent(FacesContext facesContext,
                                              UIComponent component)
                                       throws IOException
Throws:
IOException

processAjaxOnChildren

public static void processAjaxOnChildren(FacesContext facesContext,
                                         UIComponent component)
                                  throws IOException
Throws:
IOException

parseAndStoreComponents

public static Map<String,UIComponent> parseAndStoreComponents(FacesContext facesContext)

getAjaxComponents

public static Map<String,UIComponent> getAjaxComponents(FacesContext facesContext)

ensureDecoded

public static void ensureDecoded(FacesContext facesContext,
                                 String clientId)

ensureDecoded

public static void ensureDecoded(FacesContext facesContext,
                                 UIComponent component)


Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.