Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Provided that the field has a 'Number' label.

onSubmit in Buttons and SubmitLinks has been replaced with onSubmitBefore/AfterForm

The call order of onSubmit in Buttons vs Forms was inconsistent in 1.4, and fixed at "Button always comes first" in 1.5. Sometimes it is desirable to have the Button's onSubmit running after the Form's, however. In 6.0, IFormSubmitter.onSubmit is gone and has been replaced by .onSubmitBeforeForm and .onSubmitAfterForm. Your submitting component can implement either one of them or even both. Both will be called after the validation and form model update, just like onSubmit before. The only difference is that you can now pick whether something should happen before or after Form.onSubmit.

Ajax

Use JQuery as a backing library for Wicket Ajax functionality

...