Open GoogleCodeExporter opened 9 years ago
Add following to your module file (.gwt.xml)
<inherits name='com.google.gwt.widgetideas.WidgetIdeas' />
<inherits name='com.google.gwt.libideas.LibIdeas' />
Original comment by barathT...@gmail.com
on 24 Dec 2011 at 2:03
I think it's not resolved, with the workaround too (under GWT-2.4.0), as the
"client/" source path is not defined from thoses modules. The ValueSpinner
class cannot be found.
Original comment by donatien...@gmail.com
on 6 Mar 2012 at 5:25
I just found a workaround. Issue does not happen when ValueSpinner is
instantiated via the following constructor:
public ValueSpinner(long value, int min, int max, int minStep, int maxStep,
boolean constrained, ValueSpinnerResources resources)
In order to invoke the above constructor, I implemented the following dummy
ValueSpinnerResources:
class DummyValueSpinnerResources implements
ValueSpinner.ValueSpinnerResources {
@Override
public ResourcePrototype getResource(String name) {
return null;
}
@Override
public ResourcePrototype[] getResources() {
// TODO Auto-generated method stub
return new ResourcePrototype[] {};
}
@Override
public DataResource background() {
return new DataResource() {
@Override
public String getName() {
return "dummy";
}
@Override
public String getUrl() {
return "dummy";
}
};
}
@Override
public CssResource css() {
return new CssResource() {
@Override
public String getName() {
return "dummy";
}
@Override
public String getText() {
return "dummy";
}
};
}
}
Original comment by lucasn...@gmail.com
on 15 May 2012 at 4:56
Thanks! It worked for me.
Original comment by amay...@gmail.com
on 23 May 2012 at 11:51
I am trying to use the DateTimePicker in the gwt_incubator and I also get the
message about the inherited module. It seems that the client directory is not
in any of the gwt.xml files so gwt would not have access to the ValuePicker.
Is there a workaround to be able to use the DateTimePicker?
Original comment by nr...@mts.net
on 9 Sep 2012 at 2:56
Lucas, any idea on how to get the styles woring? Most of this class is rather
deprecate. Thanks in advance!
Original comment by nic...@gmail.com
on 7 May 2013 at 7:28
Lucas, thanks, that worked.
Now I am still wondering if I should use this solution or not. The incubator is
said to be deprecated, but on the other hand there is no alternative for a
spinner in the base of gwt.
I am well on the way with my gwt project but I am starting the get the eerie
feeling that I am one of the last mohicans using gwt.
Any good advice on this anyone?
Original comment by asim...@gmail.com
on 13 Oct 2013 at 10:52
Original issue reported on code.google.com by
kbvsuren...@gmail.com
on 11 Aug 2011 at 4:24