This is an automated email from the ASF dual-hosted git repository.
adelbene pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/wicket.git
The following commit(s) were added to refs/heads/master by this push:
new 0ce94ca Fixed wrong paragraph link
0ce94ca is described below
commit 0ce94ca94856bd4fc8e5253f7fddf981dbb5adf5
Author: Andrea Del Bene <[email protected]>
AuthorDate: Mon Jan 18 22:49:36 2021 +0100
Fixed wrong paragraph link
---
wicket-user-guide/src/main/asciidoc/forms2/forms2_2.adoc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wicket-user-guide/src/main/asciidoc/forms2/forms2_2.adoc
b/wicket-user-guide/src/main/asciidoc/forms2/forms2_2.adoc
index 15c2f2c..352034f 100644
--- a/wicket-user-guide/src/main/asciidoc/forms2/forms2_2.adoc
+++ b/wicket-user-guide/src/main/asciidoc/forms2/forms2_2.adoc
@@ -1,7 +1,7 @@
-A basic example of a validation rule is to make a field required. In
<<modelsforms.adoc#_models_and_javabeans,paragraph 11.3>> we have already seen
how this can be done calling setRequired(true) on a field. However, to set a
validation rule on a FormComponent we must add the corresponding validator to
it.
+A basic example of a validation rule is to make a field required. In
<<modelsforms.adoc#_login_form,paragraph 11.4.2>> we have already seen how this
can be done calling setRequired(true) on a field. However, to set a validation
rule on a FormComponent we must add the corresponding validator to it.
A validator is an implementation of the
_org.apache.wicket.validation.IValidator_ interface and the _FormComponent_ has
a version of method add which takes as input a reference of this interface.