form.add ( new AjaxSubmitLink(){

protected void onSubmit(AjaxRequestTarget target, Form form){
   // Add  feedback and do ajax stuff.
}

protected void onError(AjaxRequestTarget target, Form form){
   // Add FeedbackPanel here
   target.add( feedback );
}});
-- 
View this message in context: 
http://old.nabble.com/AjaxSubmitLink-not-calling-the-onsubmit-event-handler-tp27000018p27002962.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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

Reply via email to