[Wicket-user] How to prevent a complete submit from AjaxFormValidatingBehavior?

2006-12-08 Thread Erik van Oosten
Hello, I am trying to use the AjaxFormValidatingBehavior like this: AjaxFormValidatingBehavior.addToAllFormComponents(form, onchange); but unexpectedly the form is also submitted (and not just validated). Is this intentional, a bug, or am I missing something? Is there a workaround? I am using

Re: [Wicket-user] How to prevent a complete submit from AjaxFormValidatingBehavior?

2006-12-08 Thread Erik van Oosten
Hello, I found a solution. The following code is actually all that was needed: public class AjaxFormValidatingBehavior extends */AjaxFormComponentUpdatingBehavior /*{ private final Component feedbackPanel; public AjaxFormValidatingBehavior(String event, Component feedbackPanel) {