org.apache.myfaces.tobago.ajax
Class AjaxUtils
java.lang.Object
org.apache.myfaces.tobago.ajax.AjaxUtils
public class AjaxUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AjaxUtils
public AjaxUtils()
isAjaxRequest
public static boolean isAjaxRequest(javax.faces.context.FacesContext facesContext)
removeAjaxComponent
public static void removeAjaxComponent(javax.faces.context.FacesContext facesContext,
String clientId)
addAjaxComponent
public static void addAjaxComponent(javax.faces.context.FacesContext facesContext,
String clientId)
addAjaxComponent
public static void addAjaxComponent(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
getRequestPartialIds
public static Set<String> getRequestPartialIds(javax.faces.context.FacesContext facesContext)
addUIMessagesToRenderedPartially
public static boolean addUIMessagesToRenderedPartially(javax.faces.context.FacesContext context)
- Parameters:
context
-
- Returns:
- true if a UIMessage component has added to renderedPartially
redirect
public static boolean redirect(javax.faces.context.FacesContext facesContext,
String url)
throws IOException
- Throws:
IOException
redirect
public static void redirect(javax.servlet.http.HttpServletResponse response,
String url)
throws IOException
- Throws:
IOException
Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.