Re: how to clear validation error

2010-03-24 Thread Nikola Šaub
Man thanks so much for this! The SAME thing happened to me. I left cleanupFeedbackMessages() empty after extending WebSession. I almost went crazy figuringthis out ;). Chuck Brinkman-2 wrote: > > The messages are kept in WebSession and WebSession has > cleanupFeedbackMessages() but this is ne

Re: how to clear validation error

2010-01-08 Thread Chuck Brinkman
The messages are kept in WebSession and WebSession has cleanupFeedbackMessages() but this is never called. Got it. The session I created had a empty cleanupFeedbackMessages() method. Thanks for reading along. On Fri, Jan 8, 2010 at 9:48 PM, Chuck Brinkman wrote: > I got the code for wicket 1.

Re: how to clear validation error

2010-01-08 Thread Chuck Brinkman
I got the code for wicket 1.4.5 and stepped through to see what is causing the problem. Form.anyFormComponentError checks all the components on the form to see if 1) input is required and 2) is an error message exists for the component. It appears to me that once a message is set that it is never

Re: how to clear validation error

2010-01-08 Thread Chuck Brinkman
Thanks for your help but I don't understand. I even got the source code for http://www.wicket-library.com/wicket-examples/signin/?wicket:bookmarkablePage=:org.apache.wicket.examples.signin.SignInand when I run this in my environment I have the same issue I have with my code. Once I get a validati

Re: how to clear validation error

2010-01-08 Thread Martijn Dashorst
Override Form#onError Martijn On Fri, Jan 8, 2010 at 1:16 PM, Chuck Brinkman wrote: > I created a simple example.  Here is my html and java.  Once I get a > validation error my onSubmit is not called. > > > http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> > >     >        Current Pag

Re: how to clear validation error

2010-01-08 Thread Chuck Brinkman
I created a simple example. Here is my html and java. Once I get a validation error my onSubmit is not called. http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> Current Page

Re: how to clear validation error

2010-01-08 Thread Chuck Brinkman
maybe i left out too much code... .more html omitted or am I still missing something? On Fri, Jan 8, 2010 at 3:10 AM, Bodis, Jerome wrote: > Shouldn't the FeedbackPanel be a child of the form

RE: how to clear validation error

2010-01-08 Thread Bodis, Jerome
Shouldn't the FeedbackPanel be a child of the forms panel, instead of the form itself ? (don't know exactly = Your way the feedbackpanel gets submitted too) Jérôme -Original Message- From: Chuck Brinkman [mailto:chasb1...@gmail.com] Sent: Friday, January 08, 2010 9:02 AM To: users@wicke