myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hno...@apache.org
Subject [myfaces-tobago] branch master updated: fix demo
Date Thu, 03 Jan 2019 10:19:27 GMT
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 <hnoeth@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">&lt;f:attribute/></code> tag
is created.</p>
-    <pre><code class="language-markup">&lt;tc:in label="Password" value="qwe"
validator="\#{validationController.passwordValidator}">
+    <pre><code class="language-markup">&lt;tc:in label="Password" validator="\#{validationController.passwordValidator}">
   &lt;f:attribute name="confirmationField" value="\#{confirmBinding}"/>
 &lt;/tc:in>
-&lt;tc:in label="Confirmation" value="asdf" binding="\#{confirmBinding}"/></code></pre>
+&lt;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}"/>


Mime
View raw message