Re: Upgrading 1.5 application: troubles with click event on Hyperlink and Anchor

2009-12-31 Thread hbatista
The problem was that I had replaced RootPanel.get("linksPanel").add(linksPanelWidget); with Document.get().getElementById("linksPanel").appendChild (linksPanelWidget.getElement()); because I was getting the error "A widget that has an existing parent widget may not be added to the detach list"

Upgrading 1.5 application: troubles with click event on Hyperlink and Anchor

2009-12-31 Thread hbatista
I'm trying to upgrade a GWT 1.5 application into 2.0, and having problems getting hyperlink/anchor clicks to work as before. My 1.5 code is very simple, I'm creating a hyperlink and adding a click listener to it: Hyperlink loginLnk = new Hyperlink(msg.login(), ""); loginLnk.addClickListener(new C