The error said that you have two elements in <g:center>. You must put only
one.

2011/10/12 David Fernando <[email protected]>

> Compile gwt application, I got the error "show[Error] Element may only
> contain a single child element,  but found <g:FlowPanel
> ui:field='flow1'>and  <g:FlowPanel ui:field='flow2'>. Element
> <g:center>". Advance thanks.
>
> <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">Home</
> g:Button>
>                        </g:FlowPanel>
>                </g:north>
>                <g:center>
>                        <g:FlowPanel ui:field="flow1">
>                                <g:Button ui:field="button1">print</
> g:Button>
>                        </g:FlowPanel>
>                         <g:FlowPanel ui:field="flow2">
>                                <g:TextArea ui:field="textArea" />
>                                <g:TextArea ui:field="textArea1" />
>                        </g:FlowPanel>
>                </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.
>
>

-- 
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.

Reply via email to