t 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
>>> corr
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.
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
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
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
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
d 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@w
To: users@wicket.apache.org
Subject: how to clear validation error
I have a form with a html submit button. In java I wrote my own onSubmit to
handle the form processing. In the form I have a firstName field that is
required.
I have a form with a html submit button. In java I wrote my own onSubmit to
handle the form processing. In the form I have a firstName field that is
required.
First Name:
TextField firstNam