org.apache.myfaces.custom.ajax.util
Class AjaxRendererUtils
java.lang.Object
org.apache.myfaces.custom.ajax.util.AjaxRendererUtils
public final class AjaxRendererUtils
- extends java.lang.Object
- Version:
- $Revision: 290397 $ $Date: 2005-09-20 10:35:09 +0200 (Di, 20 Sep 2005) $
- Author:
- Travis Reeder (latest modification by $Author: mmarinschek $)
Method Summary |
static void |
addPrototypeScript(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
org.apache.myfaces.renderkit.html.util.AddResource addResource)
|
static void |
encodeAjax(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
|
static void |
encodeAjax(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.util.Map extraReturnAttributes)
Outputs elementUpdate elements with the client id and value. |
static void |
writeAjaxScript(javax.faces.context.FacesContext context,
javax.faces.context.ResponseWriter out,
AjaxCallbacks component)
|
static void |
writeAjaxScript(javax.faces.context.FacesContext context,
javax.faces.context.ResponseWriter out,
AjaxCallbacks component,
java.lang.String extraParams)
Not really liking having the extraParams thing, seems to inflexible for altering other things |
static void |
writeLoadingImage(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent comp)
Writes an animated image to show that something is happening |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STYLECLASS_LOADER
public static final java.lang.String STYLECLASS_LOADER
- See Also:
- Constant Field Values
JAVASCRIPT_ENCODED
public static final java.lang.String JAVASCRIPT_ENCODED
- See Also:
- Constant Field Values
JS_MYFACES_NAMESPACE
public static final java.lang.String JS_MYFACES_NAMESPACE
- See Also:
- Constant Field Values
addPrototypeScript
public static void addPrototypeScript(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
org.apache.myfaces.renderkit.html.util.AddResource addResource)
writeAjaxScript
public static void writeAjaxScript(javax.faces.context.FacesContext context,
javax.faces.context.ResponseWriter out,
AjaxCallbacks component)
throws java.io.IOException
- Throws:
java.io.IOException
writeAjaxScript
public static void writeAjaxScript(javax.faces.context.FacesContext context,
javax.faces.context.ResponseWriter out,
AjaxCallbacks component,
java.lang.String extraParams)
throws java.io.IOException
- Not really liking having the extraParams thing, seems to inflexible for altering other things
- Parameters:
context
- out
- component
- extraParams
-
- Throws:
java.io.IOException
encodeAjax
public static void encodeAjax(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws java.io.IOException
- Throws:
java.io.IOException
encodeAjax
public static void encodeAjax(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.util.Map extraReturnAttributes)
throws java.io.IOException
- Outputs elementUpdate elements with the client id and value.
Also outputs error elements.
- Parameters:
context
- component
- extraReturnAttributes
-
- Throws:
java.io.IOException
writeLoadingImage
public static void writeLoadingImage(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent comp)
throws java.io.IOException
- Writes an animated image to show that something is happening
- Parameters:
context
- comp
-
- Throws:
java.io.IOException
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.