There can be one single widget inside the <g:Center> tag. You are
using two VerticalPanels inside the center tag. To solve the problem
use another verticalpanel wrap(v1+v2).
//Try the below code corrected .xml file.
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:g='urn:import:com.google.gwt.user.client.ui'>
<g:DockLayoutPanel ui:field="dock">
<g:north size="25">
<g:FlowPanel>
<g:Button ui:field="save">Save</g:Button>
</g:FlowPanel>
</g:north>
<g:center>
<g:VerticalPanel ui:field="V1">
<g:VerticalPanel ui:field="panel1">
<g:Button ui:field="button1">print</
g:Button>
<g:Button ui:field="button2">clear</
g:Button>
</g:VerticalPanel>
<g:VerticalPanel ui:field="panel2">
<g:TextArea ui:field="textArea" />
</g:VerticalPanel>
</g:VerticalPanel>
</g:center>
</g:DockLayoutPanel>
</ui:UiBinder>
S. Abraham
www.DataStoreGwt.com
Persist objects directly in GAE
On Sep 20, 4:38 pm, samuel <[email protected]> wrote:
> I got the problem when I compile my project. I write my error .xml
> file.
>
> <ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
> xmlns:g='urn:import:com.google.gwt.user.client.ui'>
> <g:DockLayoutPanel ui:field="dock">
> <g:north size="25">
> <g:FlowPanel>
> <g:Button ui:field="save">Save</
> g:Button>
> </g:FlowPanel>
> </g:north>
> <g:center>
> <g:VerticalPanel ui:field="panel1">
> <g:Button ui:field="button1">print</
> g:Button>
> <g:Button ui:field="button2">clear</
> g:Button>
> </g:VerticalPanel>
> <g:VerticalPanel ui:field="panel2">
> <g:TextArea ui:field="textArea" />
> </g:VerticalPanel>
> </g:center>
> </g:DockLayoutPanel>
> </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].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.