Anchor setEnabled(false) does not work in FireFox and Chrome.

513 views
Skip to first unread message

skippy

unread,
Jan 30, 2012, 4:22:44 PM1/30/12
to Google Web Toolkit
GWT 2.3, UI Binder.

What am I missing?

Thanks

skippy

unread,
Jan 30, 2012, 4:55:08 PM1/30/12
to Google Web Toolkit
Some additional informataion.

This might be related to when I am trying to do this.

In the onclicked event, I am disabling the Anchor:

final Anchor link = new Anchor("Print");
link.addClickHandler(new ClickHandler()
{
public void onClick(ClickEvent event)
{
link.setEnabled(false);
link.setTitle("Click GO to enable link");
}
});

Jens

unread,
Jan 30, 2012, 5:22:43 PM1/30/12
to google-we...@googlegroups.com

skippy

unread,
Jan 31, 2012, 10:25:29 AM1/31/12
to Google Web Toolkit
Thanks, this is perfict.
Reply all
Reply to author
Forward
0 new messages