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 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 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
>> reset.  I don't see how this could be working for others and not working
>> for
>> me.  Any ideas?  Is there some setup or configuration I'm missing that
>> causes error messages to be cleared?
>>
>>
>> On Fri, Jan 8, 2010 at 10:51 AM, Chuck Brinkman
>> <chasb1...@gmail.com>wrote:
>>
>>> 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 validation error onSubmit is never called even after
>>> the
>>> input error is fixed.  This works fine when running at
>>> www.wicket-library.com.  What should I do in the onError method to
>>> correct this situation?  Sorry to be so lame and thanks for your help.
>>>
>>
>>
> 
> 

-- 
View this message in context: 
http://old.nabble.com/how-to-clear-validation-error-tp27072529p28021934.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