public class WiQueryEventBehavior extends WiQueryAbstractAjaxBehavior
Calls a JavaScript statement when the given Event is triggered.
options| Constructor and Description |
|---|
WiQueryEventBehavior(Event event)
Builds a new instance of
WiQueryEventBehavior. |
| Modifier and Type | Method and Description |
|---|---|
JsStatement |
statement()
Deprecated.
|
getBehaviorComponent, getOptions, renderHead, respond, setEventListenerfindIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onBind, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes, updateAjaxAttributesafterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbindpublic WiQueryEventBehavior(Event event)
WiQueryEventBehavior.event - the Event triggering the JavaScript statement.@Deprecated public JsStatement statement()
WiQueryAbstractAjaxBehavior
Since wicket 6.0 this function is no longer needed, nearly all of WiQuery core's
inner workings have been ported to Wicket 6.0. Use
WiQueryAbstractAjaxBehavior.renderHead(Component, IHeaderResponse) to render your statement.
For backward compatibility we render the output of this function in an
OnDomReadyHeaderItem if it is not empty. For your convenience this abstract
class returns null so that nothing is rendered.
If you decide to use this class and to override this function then make sure you do
call this class' WiQueryAbstractAjaxBehavior.renderHead(Component, IHeaderResponse) otherwise no
statement will be rendered.
statement in interface IWiQueryPluginstatement in class WiQueryAbstractAjaxBehaviorJsStatement corresponding to this component.Copyright © 2015. All Rights Reserved.