tags:

views:

358

answers:

1

Hello,

I am trying to include a UI binder widget into another one: I am building a form with UI binder and would like to include a fancy button done also with UI binder. Does anyone know how to do this?

Thank you!

+4  A: 

Yes, it's possible. Something like:

<gwt:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
    xmlns:gwt='urn:import:com.google.gwt.user.client.ui'
    xmlns:foo='url:import:com.foo.your.package.here'>
  <gwt:HTMLPanel>
    <foo:YourUiBinderStuff />
  </gwt:HTMLPanel>
</gwt:UiBinder>
Jason Hall