Thanks for the effort putting together that demo. The problem turns out to be a little typo, was missing a colon in "urn:import com.google.gwt.user.datepicker.client".
On Sep 2, 9:11 am, Gal Dolber <[email protected]> wrote: > Just test it and it works fine. > Try the demo attached. > > 2010/9/1 brendan <[email protected]> > > > > > > > > > > > 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.standardgeneratorcont...@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 <[email protected]> wrote: > > > That should work > > > > 2010/9/1 brendan <[email protected]> > > > > > 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 > > [email protected]. > > > > To unsubscribe from this group, send email to > > > > [email protected]<google-web-toolkit%2Bunsubs > > > > [email protected]><google-web-toolkit%2Bunsubs > > [email protected]> > > > > . > > > > 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 [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<google-web-toolkit%2Bunsubs > > [email protected]> > > . > > 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/ > > demo.zip > 1804KViewDownload -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
