Component.renderHead(IHeaderResponse) to render your statement.@Deprecated public interface IWiQueryPlugin
Since wicket 6.0 this interface is no longer needed, nearly all of WiQuery core's inner workings have been ported to Wicket 6.0.
You can use an OnDomReadyHeaderItem to render the CharSequence that statement() returns.
This class will be removed in the next version.
The IWiQueryPlugin interface defines all WiQuery plugins, e.g. all
components/behaviors outputting jQuery statements to function.
WiQuery plugins are components or behaviors generating JavaScript jQuery code. WiQuery manages the component or behavior, outputs the JavaScript needed to function and imports all JavaScript resources needed by the component or behavior.
The contribute method is not needed since wicket 1.5 as Component and or Behaviors
themselves are contributers. Simply override
Component.renderHead(IHeaderResponse) or
Behavior.renderHead(Component, IHeaderResponse)).
JsStatement| Modifier and Type | Method and Description |
|---|---|
JsStatement |
statement()
Deprecated.
use
Component.renderHead(IHeaderResponse) to render your
statement. |
@Deprecated JsStatement statement()
Component.renderHead(IHeaderResponse) to render your
statement.JsStatement used to create the plugin.
Since wicket 6.0 this interface is no longer needed, nearly all of WiQuery core's
inner workings have been ported to Wicket 6.0. Use
Component.renderHead(IHeaderResponse) to render your statement.
JsStatement corresponding to this component.Copyright © 2015. All Rights Reserved.