Package org.wicketstuff.jwicket
Class JQueryAjaxBehavior
- java.lang.Object
-
- org.apache.wicket.behavior.Behavior
-
- org.apache.wicket.behavior.AbstractAjaxBehavior
-
- org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
-
- org.wicketstuff.jwicket.JQueryAjaxBehavior
-
- All Implemented Interfaces:
Serializable,IComponentAwareEventSink,IRequestListener,IComponentAwareHeaderContributor,IClusterable
- Direct Known Subclasses:
AbstractJqueryUiBehavior,JQueryDurableAjaxBehavior
public abstract class JQueryAjaxBehavior extends AbstractDefaultAjaxBehavior
This is the base class for the jQuery integration with wicket.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classJQueryAjaxBehavior.JsAjaxCallbackFunctionprotected static classJQueryAjaxBehavior.JsBuilderstatic classJQueryAjaxBehavior.JsFunction
-
Field Summary
Fields Modifier and Type Field Description protected StringrawOptions-
Fields inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
INDICATOR
-
-
Constructor Summary
Constructors Constructor Description JQueryAjaxBehavior(JQueryResourceReference baseLibrary)JQueryAjaxBehavior(JQueryResourceReference baseLibrary, JQueryResourceReference... requiredLibraries)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddCssResources(JQueryCssResourceReference... res)voidaddUserProvidedResourceReferences(JavaScriptResourceReference... resources)protected voidaddUserProvidedResourceReferences(JQueryResourceReference... resources)List<JavaScriptResourceReference>getUserProvidedResourceReferences()protected voidprintParameters(PrintStream stream, Map<String,String[]> parameterMap)for debugging onlyprotected voidprintParameters(Map<String,String[]> parameterMap)voidrenderHead(Component component, IHeaderResponse response)protected voidrespond(AjaxRequestTarget target)voidsetRawOptions(String options)-
Methods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onBind, onMethodMismatch, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes, updateAjaxAttributes
-
Methods inherited from class org.apache.wicket.behavior.AbstractAjaxBehavior
afterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbind
-
Methods inherited from class org.apache.wicket.behavior.Behavior
beforeRender, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onConfigure, onEvent, onException, onRemove, onTag
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.wicket.IRequestListener
rendersPage
-
-
-
-
Field Detail
-
rawOptions
protected String rawOptions
-
-
Constructor Detail
-
JQueryAjaxBehavior
public JQueryAjaxBehavior(JQueryResourceReference baseLibrary)
-
JQueryAjaxBehavior
public JQueryAjaxBehavior(JQueryResourceReference baseLibrary, JQueryResourceReference... requiredLibraries)
-
-
Method Detail
-
setRawOptions
public void setRawOptions(String options)
-
renderHead
public void renderHead(Component component, IHeaderResponse response)
- Specified by:
renderHeadin interfaceIComponentAwareHeaderContributor- Overrides:
renderHeadin classAbstractDefaultAjaxBehavior
-
addUserProvidedResourceReferences
public void addUserProvidedResourceReferences(JavaScriptResourceReference... resources)
-
getUserProvidedResourceReferences
public List<JavaScriptResourceReference> getUserProvidedResourceReferences()
-
addUserProvidedResourceReferences
protected final void addUserProvidedResourceReferences(JQueryResourceReference... resources)
-
respond
protected void respond(AjaxRequestTarget target)
- Specified by:
respondin classAbstractDefaultAjaxBehavior
-
printParameters
protected void printParameters(PrintStream stream, Map<String,String[]> parameterMap)
for debugging only
-
addCssResources
protected void addCssResources(JQueryCssResourceReference... res)
-
-