Wednesday, September 1, 2010

FlowPanel can only contain widgets, but found DateBox

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.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment