Tuesday, December 8, 2015

gwt 2.8 and gwtbootstrap3 0.9.2

Hello,

We are suddenly having an issue where the following function in
"org/gwtbootstrap3/extras/slider/client/ui/Slider.java" from the
gwtboostrap3 project is failing with "doubleValue 'not a function'".
We have tried passing the value in as (double)value,
Double.valueOf(value), new Double(value), but they all are ending with
the same error.

Is there some flag or some such we need to now set that wasn't not
required before?

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

-Mike/NewsRx

--
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