You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by hn...@apache.org on 2019/01/03 10:19:27 UTC
[myfaces-tobago] branch master updated: fix demo
This is an automated email from the ASF dual-hosted git repository.
hnoeth pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git
The following commit(s) were added to refs/heads/master by this push:
new 9151b44 fix demo
9151b44 is described below
commit 9151b4451b4e5cedc42218e8532d88b727b22ddb
Author: Henning Noeth <hn...@apache.org>
AuthorDate: Thu Jan 3 11:04:44 2019 +0100
fix demo
---
.../content/30-concept/06-validation/00/Content_Validation.xhtml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/06-validation/00/Content_Validation.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/06-validation/00/Content_Validation.xhtml
index 3493d8d..5a2cd4e 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/06-validation/00/Content_Validation.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/30-concept/06-validation/00/Content_Validation.xhtml
@@ -102,10 +102,10 @@
<p>A validator check the password against the confirmation field.
To get access to the confirmation field from the validator a binding with the <code>binding</code> attribute
and the <code class="language-markup"><f:attribute/></code> tag is created.</p>
- <pre><code class="language-markup"><tc:in label="Password" value="qwe" validator="\#{validationController.passwordValidator}">
+ <pre><code class="language-markup"><tc:in label="Password" validator="\#{validationController.passwordValidator}">
<f:attribute name="confirmationField" value="\#{confirmBinding}"/>
</tc:in>
-<tc:in label="Confirmation" value="asdf" binding="\#{confirmBinding}"/></code></pre>
+<tc:in label="Confirmation" binding="\#{confirmBinding}"/></code></pre>
<tc:form>
<tc:in label="Password" required="true" validator="#{validationController.passwordValidator}">
<f:attribute name="confirmationField" value="#{confirmBinding}"/>