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/12 12:11:44 UTC
[myfaces-tobago] branch master updated (f0af1be -> 49f61f2)
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 f0af1be TOBAGO-1889: Rearrange the documentation into the demo application
new 383e25f checkstyle
new ffd1d18 set fail-level to 0, after release of checkstyle-rules
new 49f61f2 Blank-Demo: Very simple workflow, as example.
The 3 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:
pom.xml | 3 +--
.../java/org/apache/myfaces/tobago/example/blank/Hello.java | 2 +-
.../tobago-example-blank/src/main/webapp/helloWorld.xhtml | 5 +----
.../src/main/webapp/{helloWorld.xhtml => result.xhtml} | 12 +++---------
.../apache/myfaces/tobago/example/demo/ApiController.java | 2 +-
5 files changed, 7 insertions(+), 17 deletions(-)
copy tobago-example/tobago-example-blank/src/main/webapp/{helloWorld.xhtml => result.xhtml} (78%)
--
To stop receiving notification emails like this one, please contact
lofwyr@apache.org.
[myfaces-tobago] 02/03: set fail-level to 0,
after release of checkstyle-rules
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 ffd1d187c251b64ce7516f77221a4c81699b57f0
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Thu Apr 12 10:58:16 2018 +0200
set fail-level to 0, after release of checkstyle-rules
---
pom.xml | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index 0c98ed8..7dd4540 100644
--- a/pom.xml
+++ b/pom.xml
@@ -986,8 +986,7 @@
<artifactId>dependency-check-maven</artifactId>
<version>3.1.1</version>
<configuration>
- <!-- todo: reset to zero after releasing checkstyle-rules.version 10 -->
- <failBuildOnCVSS>2.2</failBuildOnCVSS>
+ <failBuildOnCVSS>0</failBuildOnCVSS>
<suppressionFile>tobago/dependency-check-suppression.xml</suppressionFile>
</configuration>
<dependencies>
--
To stop receiving notification emails like this one, please contact
lofwyr@apache.org.
[myfaces-tobago] 03/03: Blank-Demo: Very simple workflow,
as example.
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 49f61f2a42c1724b7a845f61a3b755d2346bbb35
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Thu Apr 12 14:10:40 2018 +0200
Blank-Demo: Very simple workflow, as example.
---
.../java/org/apache/myfaces/tobago/example/blank/Hello.java | 2 +-
.../tobago-example-blank/src/main/webapp/helloWorld.xhtml | 5 +----
.../src/main/webapp/{helloWorld.xhtml => result.xhtml} | 12 +++---------
3 files changed, 5 insertions(+), 14 deletions(-)
diff --git a/tobago-example/tobago-example-blank/src/main/java/org/apache/myfaces/tobago/example/blank/Hello.java b/tobago-example/tobago-example-blank/src/main/java/org/apache/myfaces/tobago/example/blank/Hello.java
index 6e5d9b8..b39b571 100644
--- a/tobago-example/tobago-example-blank/src/main/java/org/apache/myfaces/tobago/example/blank/Hello.java
+++ b/tobago-example/tobago-example-blank/src/main/java/org/apache/myfaces/tobago/example/blank/Hello.java
@@ -37,7 +37,7 @@ public class Hello {
if (LOG.isInfoEnabled()) {
LOG.info("Action was called, name is '{}'", name);
}
- return null;
+ return "/result.xhtml";
}
public String getName() {
diff --git a/tobago-example/tobago-example-blank/src/main/webapp/helloWorld.xhtml b/tobago-example/tobago-example-blank/src/main/webapp/helloWorld.xhtml
index 1d69ea8..c752d8e 100644
--- a/tobago-example/tobago-example-blank/src/main/webapp/helloWorld.xhtml
+++ b/tobago-example/tobago-example-blank/src/main/webapp/helloWorld.xhtml
@@ -21,14 +21,11 @@
xmlns:tc="http://myfaces.apache.org/tobago/component">
<tc:page>
-
<tc:in label="Name" value="#{hello.name}">
<f:facet name="after">
<tc:button label="Submit" defaultCommand="true" action="#{hello.sayHello}"/>
</f:facet>
</tc:in>
-
- <tc:out value="Hello, #{hello.name}!" rendered="#{not empty hello.name}"/>
-
</tc:page>
+
</f:view>
diff --git a/tobago-example/tobago-example-blank/src/main/webapp/helloWorld.xhtml b/tobago-example/tobago-example-blank/src/main/webapp/result.xhtml
similarity index 78%
copy from tobago-example/tobago-example-blank/src/main/webapp/helloWorld.xhtml
copy to tobago-example/tobago-example-blank/src/main/webapp/result.xhtml
index 1d69ea8..0bffc77 100644
--- a/tobago-example/tobago-example-blank/src/main/webapp/helloWorld.xhtml
+++ b/tobago-example/tobago-example-blank/src/main/webapp/result.xhtml
@@ -21,14 +21,8 @@
xmlns:tc="http://myfaces.apache.org/tobago/component">
<tc:page>
-
- <tc:in label="Name" value="#{hello.name}">
- <f:facet name="after">
- <tc:button label="Submit" defaultCommand="true" action="#{hello.sayHello}"/>
- </f:facet>
- </tc:in>
-
- <tc:out value="Hello, #{hello.name}!" rendered="#{not empty hello.name}"/>
-
+ <tc:link label="Back" outcome="/helloWorld.xhtml"/>
+ <tc:out value="Hello, #{hello.name}!"/>
</tc:page>
+
</f:view>
--
To stop receiving notification emails like this one, please contact
lofwyr@apache.org.
[myfaces-tobago] 01/03: checkstyle
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 383e25f4e020f5b3696cc0e100c33d075376289f
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Thu Apr 12 10:55:45 2018 +0200
checkstyle
---
.../main/java/org/apache/myfaces/tobago/example/demo/ApiController.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/ApiController.java b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/ApiController.java
index 0657ed3..23309ab 100644
--- a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/ApiController.java
+++ b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/ApiController.java
@@ -45,7 +45,7 @@ public class ApiController implements Serializable {
private void init() {
releases = new ArrayList<>();
for (Release release : Release.values()) {
- if (! release.isUnreleased() && (!onlyCurrent || release.isCurrent())) {
+ if (!release.isUnreleased() && (!onlyCurrent || release.isCurrent())) {
releases.add(release);
}
}
--
To stop receiving notification emails like this one, please contact
lofwyr@apache.org.