You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2018/04/18 15:19:36 UTC

[myfaces-tobago] branch master updated (1b80d68 -> ef488e5)

This is an automated email from the ASF dual-hosted git repository.

lofwyr pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git.


    from 1b80d68  fix checkstyle
     new 2a2ebe7  Demo: add binding
     new ef488e5  Doc: Java 10 Compiler can't build for Java 1.5

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../org/apache/myfaces/tobago/example/demo/InController.java   | 10 ++++++++++
 .../10-intro/90-release-checklist/release-checklist.xhtml      |  2 +-
 .../main/webapp/content/20-component/010-input/10-in/in.xhtml  |  2 +-
 3 files changed, 12 insertions(+), 2 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
lofwyr@apache.org.

[myfaces-tobago] 01/02: Demo: add binding

Posted by lo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

lofwyr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git

commit 2a2ebe70239c9f471756a0697ccd893bfda78409
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Wed Apr 18 14:36:18 2018 +0200

    Demo: add binding
---
 .../org/apache/myfaces/tobago/example/demo/InController.java   | 10 ++++++++++
 .../main/webapp/content/20-component/010-input/10-in/in.xhtml  |  2 +-
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/InController.java b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/InController.java
index 25430c0..5c93943 100644
--- a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/InController.java
+++ b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/InController.java
@@ -34,6 +34,8 @@ public class InController {
 
   private String changeValue;
 
+  private String requiredValue;
+
   public void update(final AjaxBehaviorEvent event) {
     LOG.info("AjaxBehaviorEvent called. Current value: '{}'", changeValue);
   }
@@ -45,4 +47,12 @@ public class InController {
   public void setChangeValue(final String changeValue) {
     this.changeValue = changeValue;
   }
+
+  public String getRequiredValue() {
+    return requiredValue;
+  }
+
+  public void setRequiredValue(String requiredValue) {
+    this.requiredValue = requiredValue;
+  }
 }
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/010-input/10-in/in.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/010-input/10-in/in.xhtml
index 8575c3b..107196a 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/010-input/10-in/in.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/010-input/10-in/in.xhtml
@@ -46,7 +46,7 @@
       Such an inputfield must contain a value, otherwise a submit is not possible.
       Leave the field blank and press 'submit' to see the errormessage.</p>
     <pre><code class="language-markup">&lt;tc:in label="Input (required)" required="true"/></code></pre>
-    <tc:in id="ireq" label="Input (required)" required="true"/>
+    <tc:in id="ireq" label="Input (required)" required="true" value="#{inController.requiredValue}"/>
     <tc:button label="Submit"/>
   </tc:section>
 

-- 
To stop receiving notification emails like this one, please contact
lofwyr@apache.org.

[myfaces-tobago] 02/02: Doc: Java 10 Compiler can't build for Java 1.5

Posted by lo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

lofwyr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git

commit ef488e521f9c2783106ae61577350594b9756f00
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Wed Apr 18 17:19:08 2018 +0200

    Doc: Java 10 Compiler can't build for Java 1.5
---
 .../content/10-intro/90-release-checklist/release-checklist.xhtml       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/90-release-checklist/release-checklist.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/90-release-checklist/release-checklist.xhtml
index ea340de..84db901 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/90-release-checklist/release-checklist.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/90-release-checklist/release-checklist.xhtml
@@ -106,7 +106,7 @@ ${content}
           <li>for Tobago 1.5.x use jdk 1.7.
           </li>
 
-          <li>for Tobago 2.x and higher use jdk 1.8 or higher.
+          <li>for Tobago 2.x and higher use jdk 1.8 or 1.9.
           </li>
 
           <li>Perform basic checks on an unmodified checkout for all modules:

-- 
To stop receiving notification emails like this one, please contact
lofwyr@apache.org.