Re: [Wicket-user] Wicket 1.2.2, method missing in AjaxFormValidatingBehavior?

2006-09-01 Thread Igor Vaynberg
as soon as we fix all the major outstanding bugs we will put out 1.2.3we were hoping for a week since 1.2.2, but it might be a bit longer.-IgorOn 9/1/06, 
Adam Smyczek <[EMAIL PROTECTED]> wrote:
Thanks Igor. I will move to 1.x branch.Maybe it is to early to ask since 1.2.2 is just out the door,but do you know how the time frame for 1.2.3 is?AdamOn Sep 1, 2006, at 2:32 PM, Igor Vaynberg wrote:
> yes you are right, it was a bug. onError() was added long after the> validating behavior was created and i didnt think about it. thanks> for catching it. its in svn wicket-1.x right now if you want to
> check that out and will be in 1.2.3>> -Igor>>> On 9/1/06, Adam Smyczek <[EMAIL PROTECTED]> wrote: Yes, you are> right, I could add the feedback panel to overridden
> onError() method of AjaxSubmitButton,> but my code cannot use it (have some custom submit logic).> I use AjaxFormValidatingBehavior, so for now I subclass it and> override onError().> Additionally I have to implement addToAllFormComponents() to use my
> overridden class.> This is of cause not a problem.>> The question is, why does AjaxFormValidatingBehavior not override> onError() automatically and update the panels same as onSubmit() does?
> Does the ajax validation framework have some restrictions regarding> error> handling I am not aware of, or can this method be added to> AjaxFormValidatingBehavior, just for convenience?>
> Thanks,> Adam On Sep 1, 2006, at 10:38 AM, Eelco Hillenius wrote:>> > 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
>>> --> ---> 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-
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 easierDownload 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 listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

-
Using Tomcat b

Re: [Wicket-user] Wicket 1.2.2, method missing in AjaxFormValidatingBehavior?

2006-09-01 Thread Adam Smyczek
Thanks Igor. I will move to 1.x branch.
Maybe it is to early to ask since 1.2.2 is just out the door,
but do you know how the time frame for 1.2.3 is?

Adam



On Sep 1, 2006, at 2:32 PM, Igor Vaynberg wrote:

> yes you are right, it was a bug. onError() was added long after the  
> validating behavior was created and i didnt think about it. thanks  
> for catching it. its in svn wicket-1.x right now if you want to  
> check that out and will be in 1.2.3
>
> -Igor
>
>
> On 9/1/06, Adam Smyczek <[EMAIL PROTECTED]> wrote: Yes, you are  
> right, I could add the feedback panel to overridden
> onError() method of AjaxSubmitButton,
> but my code cannot use it (have some custom submit logic).
> I use AjaxFormValidatingBehavior, so for now I subclass it and
> override onError().
> Additionally I have to implement addToAllFormComponents() to use my
> overridden class.
> This is of cause not a problem.
>
> The question is, why does AjaxFormValidatingBehavior not override
> onError() automatically and update the panels same as onSubmit() does?
> Does the ajax validation framework have some restrictions regarding
> error
> handling I am not aware of, or can this method be added to
> AjaxFormValidatingBehavior, just for convenience?
>
> Thanks,
> Adam
>
>
>
> On Sep 1, 2006, at 10:38 AM, Eelco Hillenius wrote:
>
> > 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
>
>
> -- 
> ---
> 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


-
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


Re: [Wicket-user] Wicket 1.2.2, method missing in AjaxFormValidatingBehavior?

2006-09-01 Thread Igor Vaynberg
yes you are right, it was a bug. onError() was added long after the validating behavior was created and i didnt think about it. thanks for catching it. its in svn wicket-1.x right now if you want to check that out and will be in 
1.2.3-IgorOn 9/1/06, Adam Smyczek <[EMAIL PROTECTED]> wrote:
Yes, you are right, I could add the feedback panel to overriddenonError() method of AjaxSubmitButton,but my code cannot use it (have some custom submit logic).I use AjaxFormValidatingBehavior, so for now I subclass it and
override onError().Additionally I have to implement addToAllFormComponents() to use myoverridden class.This is of cause not a problem.The question is, why does AjaxFormValidatingBehavior not override
onError() automatically and update the panels same as onSubmit() does?Does the ajax validation framework have some restrictions regardingerrorhandling I am not aware of, or can this method be added toAjaxFormValidatingBehavior, just for convenience?
Thanks,AdamOn Sep 1, 2006, at 10:38 AM, Eelco Hillenius wrote:> 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-
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 easierDownload 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 listWicket-user@lists.sourceforge.nethttps://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


Re: [Wicket-user] Wicket 1.2.2, method missing in AjaxFormValidatingBehavior?

2006-09-01 Thread Adam Smyczek
Yes, you are right, I could add the feedback panel to overridden  
onError() method of AjaxSubmitButton,
but my code cannot use it (have some custom submit logic).
I use AjaxFormValidatingBehavior, so for now I subclass it and  
override onError().
Additionally I have to implement addToAllFormComponents() to use my  
overridden class.
This is of cause not a problem.

The question is, why does AjaxFormValidatingBehavior not override
onError() automatically and update the panels same as onSubmit() does?
Does the ajax validation framework have some restrictions regarding  
error
handling I am not aware of, or can this method be added to
AjaxFormValidatingBehavior, just for convenience?

Thanks,
Adam



On Sep 1, 2006, at 10:38 AM, Eelco Hillenius wrote:

> 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


-
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


Re: [Wicket-user] Wicket 1.2.2, method missing in AjaxFormValidatingBehavior?

2006-09-01 Thread Eelco Hillenius
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


[Wicket-user] Wicket 1.2.2, method missing in AjaxFormValidatingBehavior?

2006-09-01 Thread Adam Smyczek
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