org.wicketstuff.select2
Class Select2ResourcesBehavior

java.lang.Object
  extended by org.apache.wicket.behavior.Behavior
      extended by org.wicketstuff.select2.Select2ResourcesBehavior
All Implemented Interfaces:
Serializable, org.apache.wicket.IComponentAwareEventSink, org.apache.wicket.markup.html.IComponentAwareHeaderContributor, org.apache.wicket.util.io.IClusterable

public class Select2ResourcesBehavior
extends org.apache.wicket.behavior.Behavior

Adds various resources needed by Select2 such as JavaScript and CSS. Which resources are added is controlled by the ApplicationSettings 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
Select2ResourcesBehavior()
           
 
Method Summary
 void renderHead(org.apache.wicket.Component component, org.apache.wicket.markup.head.IHeaderResponse response)
           
 
Methods inherited from class org.apache.wicket.behavior.Behavior
afterRender, beforeRender, bind, canCallListenerInterface, detach, getStatelessHint, isEnabled, isTemporary, onComponentTag, onConfigure, onEvent, onException, onRemove, unbind
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Select2ResourcesBehavior

public Select2ResourcesBehavior()
Method Detail

renderHead

public void renderHead(org.apache.wicket.Component component,
                       org.apache.wicket.markup.head.IHeaderResponse response)
Specified by:
renderHead in interface org.apache.wicket.markup.html.IComponentAwareHeaderContributor
Overrides:
renderHead in class org.apache.wicket.behavior.Behavior


Copyright © 2018. All rights reserved.