org.apache.myfaces.tobago.internal.ajax
Class AjaxInternalUtils

java.lang.Object
  extended by org.apache.myfaces.tobago.internal.ajax.AjaxInternalUtils

public class AjaxInternalUtils
extends Object


Field Summary
static String AJAX_COMPONENTS
           
static String TOBAGO_PARTIAL_IDS
           
 
Constructor Summary
AjaxInternalUtils()
           
 
Method Summary
static void addAjaxComponent(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
           
static boolean addNextPossibleAjaxComponent(javax.faces.context.FacesContext context, String componentClientId)
           
static boolean alreadyContained(javax.faces.component.UIComponent component, Map<String,javax.faces.component.UIComponent> ajaxComponents)
           
static void checkParamValidity(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent, Class compClass)
           
static void encodeAjaxComponent(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
           
static String encodeJavaScriptString(String value)
           
static void ensureDecoded(javax.faces.context.FacesContext facesContext, String clientId)
           
static void ensureDecoded(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
           
static Map<String,javax.faces.component.UIComponent> getAjaxComponents(javax.faces.context.FacesContext facesContext)
           
static List<String> getMessagesClientIds(javax.faces.context.FacesContext facesContext)
           
static List<String> getMessagesComponentIds(javax.faces.context.FacesContext facesContext)
           
static Map<String,javax.faces.component.UIComponent> parseAndStoreComponents(javax.faces.context.FacesContext facesContext)
           
static void setRenderAllComponents(javax.faces.context.FacesContext facesContext)
           
static void storeMessagesClientIds(javax.faces.context.FacesContext facesContext, AbstractUIMessages messages)
           
 
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

TOBAGO_PARTIAL_IDS

public static final String TOBAGO_PARTIAL_IDS
See Also:
Constant Field Values
Constructor Detail

AjaxInternalUtils

public AjaxInternalUtils()
Method Detail

checkParamValidity

public static void checkParamValidity(javax.faces.context.FacesContext facesContext,
                                      javax.faces.component.UIComponent uiComponent,
                                      Class compClass)

encodeAjaxComponent

public static void encodeAjaxComponent(javax.faces.context.FacesContext facesContext,
                                       javax.faces.component.UIComponent component)
                                throws IOException
Throws:
IOException

setRenderAllComponents

public static void setRenderAllComponents(javax.faces.context.FacesContext facesContext)

storeMessagesClientIds

public static void storeMessagesClientIds(javax.faces.context.FacesContext facesContext,
                                          AbstractUIMessages messages)

getMessagesClientIds

public static List<String> getMessagesClientIds(javax.faces.context.FacesContext facesContext)

getMessagesComponentIds

public static List<String> getMessagesComponentIds(javax.faces.context.FacesContext facesContext)

parseAndStoreComponents

public static Map<String,javax.faces.component.UIComponent> parseAndStoreComponents(javax.faces.context.FacesContext facesContext)

getAjaxComponents

public static Map<String,javax.faces.component.UIComponent> getAjaxComponents(javax.faces.context.FacesContext facesContext)

addAjaxComponent

public static void addAjaxComponent(javax.faces.context.FacesContext facesContext,
                                    javax.faces.component.UIComponent component)

encodeJavaScriptString

public static String encodeJavaScriptString(String value)

alreadyContained

public static boolean alreadyContained(javax.faces.component.UIComponent component,
                                       Map<String,javax.faces.component.UIComponent> ajaxComponents)

addNextPossibleAjaxComponent

public static boolean addNextPossibleAjaxComponent(javax.faces.context.FacesContext context,
                                                   String componentClientId)

ensureDecoded

public static void ensureDecoded(javax.faces.context.FacesContext facesContext,
                                 String clientId)

ensureDecoded

public static void ensureDecoded(javax.faces.context.FacesContext facesContext,
                                 javax.faces.component.UIComponent component)


Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.