Wednesday, September 1, 2010

Re: FlowPanel can only contain widgets, but found DateBox

It should, but it isn't. I'll raise a bug.

08:45:04.685 [DEBUG] [...] Rebinding
com.example.client.MyViewImpl.Binder
08:45:04.690 [DEBUG] [...] Invoking
com.google.gwt.dev.javac.StandardGeneratorContext@46815882
08:45:04.765 [ERROR] [...] <g:FlowPanel> can contain only widgets, but
found <d:DateBox ui:field='startDate'>
08:45:04.815 [ERROR] [...] Deferred binding failed for
'com.example.client.MyViewImpl.Binder'; expect subsequent failures
08:45:05.093 [ERROR] [propertysimplified] Uncaught exception escaped
java.lang.ExceptionInInitializerError: null
...

On Sep 2, 8:16 am, Gal Dolber <gal.dol...@gmail.com> wrote:
> That should work
>
> 2010/9/1 brendan <brendanpdohe...@gmail.com>
>
>
>
>
>
>
>
>
>
> > Should I be able to the standard DateBox with uiBinder?
>
> > I'm getting an error message saying: <g:FlowPanel> can contain only
> > widgets, but found <d:DateBox ui:field='startDate'>
>
> > <!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
> > <ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
> >        xmlns:g="urn:import:com.google.gwt.user.client.ui"
> >        xmlns:d="urn:import com.google.gwt.user.datepicker.client">
>
> >        <g:FlowPanel>
> >                <d:DateBox ui:field="startDate" />
> >        </g:FlowPanel>
>
> > </ui:UiBinder>
>
> > --
> > 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-toolkit@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscribe@googlegroups.com<google-web-toolkit%2Bunsubs cribe@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> Guit: Elegant, beautiful, modular and *production ready* gwt applications.
>
> http://code.google.com/p/guit/

--
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment