File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes GWT and the fly likes Gwt Button Disable problem in Mozilla firefox and Chrome(cross browser) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "Gwt Button Disable problem in Mozilla firefox and Chrome(cross browser)" Watch "Gwt Button Disable problem in Mozilla firefox and Chrome(cross browser)" New topic
Author

Gwt Button Disable problem in Mozilla firefox and Chrome(cross browser)

somasekar thiyagarajan
Greenhorn

Joined: Jun 27, 2011
Posts: 1
Hi


Currently am working on the Gwt button disable in crossbrowser. In Internet explorer its working properly But in Mozilla firefox and Chrome the button is not disabled properly and whenever mouse over on the disabled button, button got focus( but clicking event function is not occuring)

The following code i have used :

final Button sendButton = new Button("Send");
sendButton.setEnabled(false);

Also i have tried the following thing.

final Button sendButton = new Button("Send");
DOM.setElementPropertyBoolean(sendButton.getElement(), "disabled", true);

Please help me out.

Somaldo
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Gwt Button Disable problem in Mozilla firefox and Chrome(cross browser)