Wednesday, June 23, 2010

right way to create a link handler?

Hie

seems the code 
final Hyperlink adminLink = new Hyperlink();
adminLink.setText("Admin");
adminLink.addClickHandler(new ClickHandler() {
     public void onClick(ClickEvent event) {
       // Instantiate the popup and show it.
    loginPopup =   new LoginPopup();
    loginPopup.showRelativeTo(adminLink);
    loginPopup.show();
     }
   });

is deprecated. So what is the right way to do the same?

Thankx and Regards

Vik
Founder
www.sakshum.com
www.sakshum.blogspot.com

--
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.

No comments:

Post a Comment