You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by hemilshah <he...@consult.nordea.com> on 2010/11/29 09:29:50 UTC

onSubmit not getting invoked using AjaxButton

Hi,

I have a panel with 2 dropdown choice component and an AjaxButton. One
dropdownchoice has a AjaxFormUpdatingComponent behaviour added and this is
working fine.

But on clicking, its not invoking onSubmit button. It seems that there is a
validation failure as Wicket invokes onError method when my set
defaultFormProcessing to true. But i could not figure out why it is
happening. On making the flag to false Wicket invokes onSubmit method but my
functionality is not working. 

I want to know the possible reasons for not getting onSubmit to be invoked
and also for validation failure. 

Thanks.
Regards,
Hemil

-- 
View this message in context: http://apache-wicket.1842946.n4.nabble.com/onSubmit-not-getting-invoked-using-AjaxButton-tp3063201p3063201.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: onSubmit not getting invoked using AjaxButton

Posted by Alexander Monakhov <do...@gmail.com>.
Hey, in development mode you can check ajax debug panel. So, you can
see all ajax request.
If it doesn't help could you, please, provide sample source?

Best regards, Alexander.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: onSubmit not getting invoked using AjaxButton

Posted by Poko Booth <po...@gmail.com>.
Add a feedback and rerender it on the onError method to see the specific error. 

Regards,
Poko

On Nov 29, 2010, at 10:29, hemilshah <he...@consult.nordea.com> wrote:

> 
> Hi,
> 
> I have a panel with 2 dropdown choice component and an AjaxButton. One
> dropdownchoice has a AjaxFormUpdatingComponent behaviour added and this is
> working fine.
> 
> But on clicking, its not invoking onSubmit button. It seems that there is a
> validation failure as Wicket invokes onError method when my set
> defaultFormProcessing to true. But i could not figure out why it is
> happening. On making the flag to false Wicket invokes onSubmit method but my
> functionality is not working. 
> 
> I want to know the possible reasons for not getting onSubmit to be invoked
> and also for validation failure. 
> 
> Thanks.
> Regards,
> Hemil
> 
> -- 
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/onSubmit-not-getting-invoked-using-AjaxButton-tp3063201p3063201.html
> Sent from the Users forum mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org