Package org.wicketstuff.select2
Class Select2ResourcesBehavior
- java.lang.Object
-
- org.apache.wicket.behavior.Behavior
-
- org.wicketstuff.select2.Select2ResourcesBehavior
-
- All Implemented Interfaces:
Serializable
,IComponentAwareEventSink
,IComponentAwareHeaderContributor
,IClusterable
public class Select2ResourcesBehavior extends Behavior
Adds various resources needed by Select2 such as JavaScript and CSS. Which resources are added is controlled by theApplicationSettings
object. Minified versions of JavaScript resources will be used when the application is configured in deployment mode.- Author:
- igor
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Select2ResourcesBehavior()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
renderHead(Component component, IHeaderResponse response)
-
Methods inherited from class org.apache.wicket.behavior.Behavior
afterRender, beforeRender, bind, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onComponentTag, onConfigure, onEvent, onException, onRemove, onTag, unbind
-
-
-
-
Method Detail
-
renderHead
public void renderHead(Component component, IHeaderResponse response)
- Specified by:
renderHead
in interfaceIComponentAwareHeaderContributor
- Overrides:
renderHead
in classBehavior
-
-