GWT Button eventlistener designer
- by msaif
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??