When removing all the details of your UiBinder the file looks like:

<!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">

  <ui:with type="com.folder.client.resources.Css" field="CSS" />
  <ui:with type="com.folder.client.resources.Strings" field="STRINGS" />

  <ui:style type=
"com.folder.client.presenters.main.common.dialog.HelpDialog.LocalStyle">
    // ....
  </ui:style>
 
  // the first root element inside <ui:uibinder>
  <g:HTMLPanel ui:field="uiPanelOptions" >

  </g:HTMLPanel>

  // the second root element inside <ui:binder>
  <g:HTMLPanel ui:field="uiPanelFooter">

  </g:HTMLPanel>


</ui:UiBinder> 


With UiBinder you can only have a single Widget / Element inside the 
<ui:UiBinder> tag. You would need to wrap your two HTMLPanels with a third 
one. The reason is that in your Java code the call to 
uibinder.createAndBindUi(this) returns this single Widget / Element. So you 
can not have two root Widgets / Elements.

-- J.

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to