On Mon, May 2, 2011 at 7:17 AM, easydoor958
<[email protected]>wrote:
> Hi Gilberto,
>
> Nothing changes if i add addControl(clearButton);
>
> With Eclipse Debugger, the program pointer doesn't reach the onClear()
> method
> that's why it doesn't work ...
>
> If I change this line
> ActionButton clearButton = new ActionButton("Effacer les critères", this,
> "onClear");
> by this one
>
I think you are right! Now I can see that has something incoherent with
ActionButton:
-- it represents <input type="button"/> [1]
-- but it can't be added to the form, because the docs advice [2]
Well, one more question: is the ActionButton a form's attribute or not?[3]
Regards,
Gilberto
[1] http://www.htmlcodetutorial.com/forms/_INPUT_TYPE_BUTTON.html
[2]
http://click.apache.org/docs/click-api/org/apache/click/control/ActionButton.html
[3] http://dl.dropbox.com/u/9093640/form.htm |
http://dl.dropbox.com/u/9093640/FormPage.java