Wednesday, September 21, 2011

Re: Trouble with UiBinder getting UiHandler events to fire under GWT 2.4

Thanks Jeff, I can live with that.

I found what led me off the path of workingness... the UiBinder
documentation. Here's a snippet from the documentation for Declarative
Layout with UiBinder (http://code.google.com/webtoolkit/doc/latest/
DevGuideUiBinder.html#Hello_World
):

HelloWorld helloWorld = new HelloWorld();
Document.get().getBody().appendChild(helloWorld.getElement());
helloWorld.setName("World");

The section after that one talks about making a UiBinder template that
uses widgets instead of HTML but doesn't say that you need to change
the way you add the widget to the document.

Oh well...

Tyler

On Sep 21, 4:12 pm, Jeff Larsen <larse...@gmail.com> wrote:
> You will always need to attach your widgets to RootPanel or
> RootLayoutPanel.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate