Yes, I'm using the form default setting (DefaultFormProcessing = true).
But for form processing you have to use a submit button or a SubmitLink or
you can call the form validate() method programmatic.

See also Wicket API Doc of Form: (
http://wicket.apache.org/apidocs/1.4/org/apache/wicket/markup/html/form/Form.html
Wicket API Doc )
"/If you want you can call validate() to execute form validation, hasError()
to find out whether validate() resulted in validation errors, and
updateFormComponentModels() to update the models of nested form
components./"

the first two are working perfect, but not the programmatic way.
Nevertheless I found a solution for my problem. I'm using a SubmitLink in my
LinkTree component.
For that I had to override the newLink() method of LinkTree.


see also the thread: 
http://apache-wicket.1842946.n4.nabble.com/Using-SubmitLink-as-a-tree-node-tc3914407.html
SubmitLink in BaseTree 

Thanks for your hints!

Ralph

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Validating-in-form-returns-always-error-but-textfield-has-a-value-tp3912361p3914717.html
Sent from the Users forum 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