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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|