org.apache.wicket.ajax.calldecorator
Class AjaxCallDecorator
java.lang.Object
org.apache.wicket.ajax.calldecorator.AjaxCallDecorator
- All Implemented Interfaces:
- Serializable, IAjaxCallDecorator, IClusterable
public abstract class AjaxCallDecorator
- extends 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 CharSequence decorateScript(CharSequence script)
- Description copied from interface:
IAjaxCallDecorator
- Decorates the script that performs the ajax call
- Specified by:
decorateScript
in interface IAjaxCallDecorator
- Returns:
- decorated script
- See Also:
IAjaxCallDecorator.decorateScript(CharSequence)
decorateOnSuccessScript
public CharSequence decorateOnSuccessScript(CharSequence script)
- Description copied from interface:
IAjaxCallDecorator
- Decorates the onSuccess handler script
- Specified by:
decorateOnSuccessScript
in interface IAjaxCallDecorator
- Returns:
- decorated onSuccess handler script
- See Also:
IAjaxCallDecorator.decorateOnSuccessScript(CharSequence)
decorateOnFailureScript
public CharSequence decorateOnFailureScript(CharSequence script)
- Description copied from interface:
IAjaxCallDecorator
- Decorates the onFailure handler script
- Specified by:
decorateOnFailureScript
in interface IAjaxCallDecorator
- Returns:
- decorated onFailure handler script
- See Also:
IAjaxCallDecorator.decorateOnFailureScript(CharSequence)
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.