Submitting form via Ajax isn't working

2009-04-19 Thread HHB
Hey, I have a form and I want to submit it via Ajax: wicket:panel form wicket:id=form div wicket:id=feedback/div table width=100% cellpadding=2 cellspacing=2 tr tdlabelwicket:message key=name/ /label/td tdspan wicket:id=nameBorder

Re: Submitting form via Ajax isn't working

2009-04-19 Thread Martin Makundi
You should implement the onError method of the button and update feedback panel to see possible validation errors. ** Martin 2009/4/19 HHB hubaghd...@yahoo.ca: Hey, I have a form and I want to submit it via Ajax: wicket:panel form wicket:id=form div wicket:id=feedback/div

Re: Submitting form via Ajax isn't working

2009-04-19 Thread Clint Popetz
All looks good to me, my guess is that you aren't entering in a name, and so you're failing validation, but you haven't implemented onError to add the feedback panel to the target in that case. Also, your feedback panel probably needs setOutputMarkupId(true) to be of any use, given that you're

Re: Submitting form via Ajax isn't working

2009-04-19 Thread HHB
Yes, you are right. My isssue is solved now, thanks. cpopetz wrote: All looks good to me, my guess is that you aren't entering in a name, and so you're failing validation, but you haven't implemented onError to add the feedback panel to the target in that case. Also, your feedback panel