Any chance for a Bootstrap theme (backport) for wicketstuff 6.x (i.e. select2 
version 3.x) …? We are currently still using Wicket 6.x and can’t update yet 
because of infrastructure restrictions (app server not supporting Java 7 :-/ ) …

Cheers,
   Tom


> On 15.01.2016, at 10:02, Ernesto Reinaldo Barreiro <reier...@gmail.com> wrote:
> 
> Gabriel,
> 
> Thanks for sharing! I ended up doing it a bit differently in order to be
> more compatible with existing select2 component. See
> 
> https://github.com/wicketstuff/core/pull/453
> 
> @martin-g, @solomax,
> 
> Sorry again about white spaces vs tabs noise: I need to find some time to
> fix that on my idea settings :-(
> 
> 
> On Thu, Jan 14, 2016 at 6:58 PM, Gabriel Landon <glan...@piti.pf> wrote:
> 
>> Ernesto,
>> 
>> 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
>> CssResourceReference(Select2CssBehavior.class,
>>            "select2-bootstrap.css");
>> 
>>    @Override
>>    public void renderHead(final Component varComponent, final
>> IHeaderResponse varResponse) {
>>        super.renderHead(varComponent, varResponse);
>>        varResponse.render(CssHeaderItem.forReference(SELECT2_CSS));
>>    }
>> 
>> }
>> 
>> 
>> --
>> View this message in context:
>> http://apache-wicket.1842946.n4.nabble.com/wicketstuff-select2-and-Bootstrap-3-tp4673303p4673333.html
>> Sent from the Users forum mailing list archive at Nabble.com.
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>> 
>> 
> 
> 
> -- 
> Regards - Ernesto Reinaldo Barreiro





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to