Tuesday, December 8, 2015

Re: gwt 2.8 and gwtbootstrap3 0.9.2

Boolean and Double are now unboxed raw types when compiled to JS. I think that means inside JSNI methods a Double should be treated as double primitive. 

So something like

protected native void setValue(Element e, Double value) /*-{ 
    $wnd.jQuery(e).slider(@org.gwtbootstrap3.extras.slider.client.ui.base.SliderCommand::SET_VALUE, value); 
}-*/; 

should work now.

-- J.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment