On Jul 21, 5:14 pm, Alexander Orlov <[email protected]> wrote:
> binder.createAndBindUi(this);
Ok, got it:
Widget app = binder.createAndBindUi(this);
RootPanel.get("widget").add(app);
...works, but the problem is that I want to bind everything to <div
id="widget"></div>. My "Main implements EntryPoint" layout looks like
<g:TabPanel ui:field="test">
<g:Tab>
<g:TabHTML>MyWidgetSuperClass</g:TabHTML>
<dp:MyWidgetSuperClass ui:field="myWidgetSuperClass"/>
</g:Tab>
<g:Tab>
<g:TabHTML>MyWidgetSubClass</g:TabHTML>
<dp:MyWidgetSubClass ui:field="myWidgetSubClass"/>
</g:Tab>
</g:TabPanel>
But binding the "Main implements EntryPoint" and MyWidgetSubClass to
the same DIV ID results in double output. So only MyWidgetSuperClass
is displayed within Main's widget boundaries.
-Alex
--
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.