On Dec 22, 10:42 am, Peter <[email protected]> wrote:
> Sure, thanks for helping hand. Zipped project is here:
>
> ns.blucina.net/lovisek/tmp/XploreU-inbox.zip
>
> I also deployed the project 
> here:http://ns.blucina.net/lovisek/tmp/xu/XploreU_inbox.html
>
> As you can see, onClick handler is never fired despite it should be
> triggered after clicking on button and bold C label.

You're not attaching your *widget* to the document, only its
*element*, so events are not sunk:
                Document.get().getBody().appendChild(b.getElement());

Use a RootPanel or RootLayoutPanel to add widgets to the page. That's
"GWT 101".

--

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