We are using smartgwt and smartclient version 12.0.p. The following code snippet generates an exception in firefox while pressing button2 that will disble button1
Button button1 = new Button("Button1") {
@Override
public String getInnerHTML() {
return "Test";
}
};
Button button2 = new Button("Button2");
button2.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
button1.disable();
}
});
Button button1 = new Button("Button1") {
@Override
public String getInnerHTML() {
return "Test";
}
};
Button button2 = new Button("Button2");
button2.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
button1.disable();
}
});
Comment