You can override onError to react on a failing validation. Updating of
the feedbackpanel should be automatic, as long as you add the
feedbackpanel to the ajax target for re-rendering.

  protected void onError(AjaxRequestTarget target) {
    target.add(myFeedbackPanel);
  }


Eelco



On 9/1/06, Adam Smyczek <[EMAIL PROTECTED]> wrote:
> AjaxFormValidatingBehavior updates feedback panels in onSubmit()
> method, but onError() nothing happens.
> Can onError() be overwritten as well and do the same thing?
>
> Regards,
> Adam
>
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to