Using designer to create page, set a click handler to a button, can fire ev

as topic, is there some thing need to be set?

  • Create a design e.g. MyDesign.html and MyDesign.java
  • In the design add button and give it a name e.g. myButton
  • Create a class extending MyDesign
  • in the extending class call myButton.addClickListener