I understand that Wicket automatically handles the assignment of user entered values to model entries on submit. In the example of having an okay and cancel button, how would you prevent this behaviour when the cancel button has been pressed. I would like the example to be expanded with a TextField on the form that would on okay change the model (which could be made visible with a label, like the HelloWorld example) but on cancel would not.
Some observation I have made about the button processing with IE. First off, don't use <button> tag since all the button will always call the same method. Secondly, when using <input>, you have to add to your form the method onSubmit. When you will it enter in the middle of the form, it will simply call the onSubmit of the form, not the one of the default button of your form. I hope it will help some people to debug their application since IE don't react like firefox.
Here is a the code I place in the form if I want IE and firefox to do the samething. It will also add some indication for the comment seen before me