It did the job! I wasn't aware of the right value for *inherits*. I have just realised it's the gwt.xml file without the extension...
Thanks! On Mar 16, 6:24 pm, ocaner <oca...@gmail.com> wrote: > > Try to compile it and I get the error copied below. > > I believe i need to inherit it, or need to specify the source path in > > Monkee.gwt.xml, but don't know how to do it. And the source code of > > the whole project I downloaded is a bit too complicated for me to > > understand, as I am still a beginner. > > > Does anyone have an idea? > > I would guess you did forget to inherit the right module, because GWT > Compiler only includes sourcecode for included GWT modules. You have > to add the following line to your project .gwt.xml file: > > <inherits name='org.gwt.advanced.Grid'/> > > > Also, not being a GWT standard widget, can it still be declared in a > > UIBinder xml? > > Yes, this is possibly! You have to import the package of the widget > using xml namespace declaration: > > <ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder' > xmlns:g='urn:import:com.google.gwt.user.client.ui' > > xmlns:adv='urn:import:org.gwt.advanced.client.ui.widget'> > > <g:HTMLPanel> > > <!-- usage of datepicker --> > <adv:DatePicker ... /> > > </g:HTMLPanel> > > </ui:UiBinder> > > If the datepicker has no no-args constructor then you have to supply a > @UiFactory Method in your UiBinder class. You should have a look > athttp://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html#Us... -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.