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

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:

Re: how to clear validation error

2010-01-08 Thread Chuck Brinkman
maybe i left out too much code... form wicket:id=currentUserPanelForm ul li span wicket:id=feedback/span /li .more html omitted /ul input type=submit value=Update / /form or am I still missing

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. !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html head titleCurrent Page/title link

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 chasb1...@gmail.com wrote: I created a simple example.  Here is my html and java.  Once I get a validation error my onSubmit is not called. !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN

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

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

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 chasb1...@gmail.com wrote: I got the