org.apache.wicket.ajax.calldecorator
Class AjaxCallDecorator
java.lang.Object
org.apache.wicket.ajax.calldecorator.AjaxCallDecorator
- All Implemented Interfaces:
- java.io.Serializable, IAjaxCallDecorator, IClusterable
public abstract class AjaxCallDecorator
- extends java.lang.Object
- implements IAjaxCallDecorator
An adapter for implementations of IAjaxCallDecorator
.
- Since:
- 1.2
- Author:
- Igor Vaynberg (ivaynberg)
- See Also:
for notes on escaping quotes in scripts
,
Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AjaxCallDecorator
public AjaxCallDecorator()
decorateScript
public java.lang.CharSequence decorateScript(Component c,
java.lang.CharSequence script)
- Description copied from interface:
IAjaxCallDecorator
- Decorates the script that performs the ajax call
- Specified by:
decorateScript
in interface IAjaxCallDecorator
- Returns:
- decorated script
decorateOnSuccessScript
public java.lang.CharSequence decorateOnSuccessScript(Component c,
java.lang.CharSequence script)
- Description copied from interface:
IAjaxCallDecorator
- Decorates the onSuccess handler script
- Specified by:
decorateOnSuccessScript
in interface IAjaxCallDecorator
- Returns:
- decorated onSuccess handler script
decorateOnFailureScript
public java.lang.CharSequence decorateOnFailureScript(Component c,
java.lang.CharSequence script)
- Description copied from interface:
IAjaxCallDecorator
- Decorates the onFailure handler script
- Specified by:
decorateOnFailureScript
in interface IAjaxCallDecorator
- Returns:
- decorated onFailure handler script
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.