Re: [Wicket-user] Form submit to modal window issues

2007-01-29 Thread Shawn Tumey
Thank you for the assistance Matej. I did not realize I had to explicitly do the target.addComponent(myForm); Everything is now working as desired. Thanks again, Shawn On 1/27/07, Matej Knopp [EMAIL PROTECTED] wrote: When the validation fails the onSubmit method is not called at all.

Re: [Wicket-user] Form submit to modal window issues

2007-01-27 Thread Matej Knopp
When the validation fails the onSubmit method is not called at all. There's an onError method that is called in this case. -Matej Shawn Tumey wrote: When validation should fail and the feedback panel should show up. *INFO: *Initiating Ajax POST request on

[Wicket-user] Form submit to modal window issues

2007-01-26 Thread Shawn Tumey
Hello, I have a form that after validation needs to open a modal window. This modal window basically acts as a very complex confirmation box. If the user cancels out of the modal window, then they should be returned to the form. However, if they submit / continue from the modal window, then the

Re: [Wicket-user] Form submit to modal window issues

2007-01-26 Thread Matej Knopp
Hi I'm not sure what exactly are you trying to accomplish. But in any case, remember that the modal window is an ajax component, thus to display it you need an ajax request. So if you want to submit the form and open the ModalWindow afterwards, you need to use AjaxSubmitButton or

Re: [Wicket-user] Form submit to modal window issues

2007-01-26 Thread Shawn Tumey
Thank you Matej, I was aware of this, but I still don't see what I am doing wrong. I believe I have included the relevant code. With the below code the form does not display the feedback panel for components that failed validation like it should. If all the fields validate, the modalWindow is

Re: [Wicket-user] Form submit to modal window issues

2007-01-26 Thread Matej Knopp
Nothing apparent. Can you post the markup too? Shawn Tumey wrote: Thank you Matej, I was aware of this, but I still don't see what I am doing wrong. I believe I have included the relevant code. With the below code the form does not display the feedback panel for components that failed

Re: [Wicket-user] Form submit to modal window issues

2007-01-26 Thread Matej Knopp
One more thing. Can you please post also the content of javascript console? And can is the onSubmit handler of AjaxSubmitButton really called? -Matej Matej Knopp wrote: Nothing apparent. Can you post the markup too? Shawn Tumey wrote: Thank you Matej, I was aware of this, but I still don't

Re: [Wicket-user] Form submit to modal window issues

2007-01-26 Thread Shawn Tumey
When validation should fail and the feedback panel should show up. *INFO: * Initiating Ajax POST request on /inl/secure/app/page?wicket:interface=:0:panel:reqForm:submit:-1:IUnversionedBehaviorListenerwicket:behaviorId=0wicket:ignoreIfNotActive=truerandom= 0.393144868947922 *INFO: *Invoking