Peter, Also, would you mind downloading a fresh copy of Eclipse (with a new workspace) for testing purposes? I imported your project, and the @UiFields are not marked as errors for me. If a fresh Eclipse works, it'll help in debugging whether it's a system configuration issue or an Eclipse configuration issue.
Thanks, jason On Tue, Dec 22, 2009 at 11:08 AM, Thomas Broyer <t.bro...@gmail.com> wrote: > > > On Dec 22, 10:42 am, Peter <peterlovi...@gmail.com> 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 google-web-tool...@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > > -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.