No exceptions in the console. Debug shows that the onError() is never called.

-Santiago


igor.vaynberg wrote:
> 
> any exceptions in the log/console? seems pretty damn strange to me.
> can you verify onerror() is being called on the ajax behavior?
> 
> -igor
> 
> 
> On Dec 18, 2007 11:27 PM, SantiagoA <[EMAIL PROTECTED]> wrote:
>>
>> Thanks for the answer, but that doesn´t work either.
>> It´s a bit strange, but if I set the component to be required, the
>> feedbackPanel will not be rendered.
>> If I make the validation in
>>       protected void onUpdate(AjaxRequestTarget target){
>> like
>>         if(vwd == null)
>>                 vwdComponent.error(vwdErrorMessage);
>>      }
>> and set the component to not required, the feedbackPanel shows up.
>> Is there another way, where I can use the setRequired-method and the
>> NumberValidator and nevertheless the AjaxCall won´t get blocked or the
>> feedbackPanel gets rendered immediately?
>>
>>
>>
>>
>> igor.vaynberg wrote:
>> >
>> > On Dec 18, 2007 1:25 AM, SantiagoA <[EMAIL PROTECTED]> wrote:
>> >>
>> >>     vwdComponent.add(new AjaxFormComponentUpdatingBehavior("onblur"){
>> >>       private static final long serialVersionUID =
>> 4932149086847602955L;
>> >>       @Override
>> >>       protected void onUpdate(AjaxRequestTarget target){
>> >>         log.debug("VWD-Ajax Update");
>> >>         if (vwd > 0) {
>> >>                        // Here are some calculations
>> >>         }
>> >>        target.addComponent(myOutDate);
>> >>        target.addComponent(vwdComponent);
>> >>        target.addComponent(myFeedbackPanel);
>> >>        target.addComponent(myForm);
>> >>       }
>> >
>> >         protected void onError(AjaxRequestTarget target ){
>> >             target.addComponent(myFeedbackPanel);
>> >         }
>> >
>> >
>> >
>> > -igor
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Ajax-Feedback-Problem-in-1.3-tp14191234p14412309.html
>>
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Ajax-Feedback-Problem-in-1.3-tp14191234p14412962.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to