Hi.

Is there any way to disable automactic form validation when using multiple submit buttons? I remember some time ago one had to call validate on form manually form each handler. Now it's called automatically.

I want to have a cancel button and having the form validated first means that user can't leave the form using this button if form isn't valid.

Would be great to have something like
new Button("cancel") {
  boolean validateForm() { // this would return true by default
    return false;
  }
  void onSubmit() {
  }
}

-Matej


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to