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(FacesContext facesContext)
removeAjaxComponent
public static void removeAjaxComponent(FacesContext facesContext,
String clientId)
addAjaxComponent
public static void addAjaxComponent(FacesContext facesContext,
String clientId)
addAjaxComponent
public static void addAjaxComponent(FacesContext facesContext,
UIComponent component)
addUIMessagesToRenderedPartially
public static boolean addUIMessagesToRenderedPartially(FacesContext context)
- Parameters:
context
-
- Returns:
- true if a UIMessage component has added to renderedPartially
redirect
public static boolean redirect(FacesContext facesContext,
String url)
throws IOException
- Throws:
IOException
redirect
public static void redirect(HttpServletResponse response,
String url)
throws IOException
- Throws:
IOException
Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.