Provides a ActionButton control: <input type="button"/>. The ActionButton provides equivalent functionality to the {@link org.apache.click.control.ActionLink} control, where you can attachaction listeners to the button. When the button is clicked it will make a JavaScript GET request. This request is then processed by the ActionButton and its listener is invoked.
ActionButton Example
Example usage of the ActionButton:
ActionButton actionButton = new ActionButton("button"); actionButton.setListener(this, "onButtonClick"); addControl(actionButton);
Please Note do not add ActionButton instances to the Form object, as the GET request it generates will never be processed by the Form, and in turn the Form will not invoke the ActionButton's
onProcess() method.
@see org.apache.click.control.ActionLink