GWT Button eventlistener designer

Posted by msaif on Stack Overflow See other posts from Stack Overflow or by msaif
Published on 2010-03-23T03:51:39Z Indexed on 2010/03/23 4:01 UTC
Read the original article Hit count: 522

Filed under:
|
|
|

For example I took html from a designer which is given below. How can i add click event which shows alert from GWT?

final Button button = new Button("OK"); I dont allow to add button dynamically from GWT by RootPanel.get("sendButtonContainer").add(button);

I am searching the syntax something like: RootPanel.get("sendButtonContainer").getWidget(0).addEventListener()??????? Jquery can search the button object from nameFieldContainer and dynamically add click event listener but is it possible in GWT??

© Stack Overflow or respective owner

Related posts about gwt

Related posts about button