I've done a simple behavior that I add to the select2 component when needed.

public class Select2CssBehavior extends Behavior {
    /** serialVersionUID. */
    private static final long serialVersionUID = 1L;
    /** Select2 CSS for bootstrap. */
    private static final CssResourceReference SELECT2_CSS = new

    public void renderHead(final Component varComponent, final
IHeaderResponse varResponse) {
        super.renderHead(varComponent, varResponse);


View this message in context:
Sent from the Users forum mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to