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 2018/06/25 08:41:11 UTC
[myfaces-tobago] branch master updated: fix styles
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 f1dc45b fix styles
f1dc45b is described below
commit f1dc45b4bff9c500bdf3cda4d0e0dbdca93aefa5
Author: Henning Noeth <hn...@apache.org>
AuthorDate: Mon Jun 25 10:40:59 2018 +0200
fix styles
---
.../org/apache/myfaces/tobago/facelets/ConvertDateTimeHandler.java | 3 ++-
.../internal/taglib/component/ConvertDateTimeTagDeclaration.java | 4 ++--
.../java/org/apache/myfaces/tobago/example/demo/ApiController.java | 2 +-
.../src/main/webapp/content/10-intro/70-faq/faq.xhtml | 2 +-
4 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/facelets/ConvertDateTimeHandler.java b/tobago-core/src/main/java/org/apache/myfaces/tobago/facelets/ConvertDateTimeHandler.java
index 515933f..ea0a0e6 100644
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/facelets/ConvertDateTimeHandler.java
+++ b/tobago-core/src/main/java/org/apache/myfaces/tobago/facelets/ConvertDateTimeHandler.java
@@ -67,7 +67,8 @@ public class ConvertDateTimeHandler extends ConverterHandler {
converter = (Converter) valueExpression.getValue(faceletContext);
}
if (converter == null) {
- converter = FacesContext.getCurrentInstance().getApplication().createConverter(DateTimeConverter.CONVERTER_ID);
+ converter = FacesContext.getCurrentInstance().getApplication()
+ .createConverter(DateTimeConverter.CONVERTER_ID);
DateTimeConverter dtConverter = (DateTimeConverter) converter;
if (locale != null) {
diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/ConvertDateTimeTagDeclaration.java b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/ConvertDateTimeTagDeclaration.java
index c656722..f3b21cc 100644
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/ConvertDateTimeTagDeclaration.java
+++ b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/ConvertDateTimeTagDeclaration.java
@@ -24,7 +24,6 @@ import org.apache.myfaces.tobago.apt.annotation.ConverterTag;
import org.apache.myfaces.tobago.apt.annotation.Tag;
import org.apache.myfaces.tobago.apt.annotation.TagAttribute;
import org.apache.myfaces.tobago.convert.DateTimeConverter;
-import org.apache.myfaces.tobago.facelets.ConvertDateTimeHandler;
import org.apache.myfaces.tobago.internal.taglib.declaration.HasFor;
import javax.el.ValueExpression;
@@ -40,7 +39,8 @@ import javax.el.ValueExpression;
public interface ConvertDateTimeTagDeclaration extends HasFor {
/**
- * A ValueExpression that evaluates to an instance of {@link ConvertDateTimeHandler}.
+ * A ValueExpression that evaluates to an instance of
+ * {@link org.apache.myfaces.tobago.facelets.ConvertDateTimeHandler}.
*/
@TagAttribute(name = "binding", type = "org.apache.myfaces.tobago.convert.DateTimeConverter")
void setBinding(ValueExpression binding);
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 dbae648..d21eb93 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
@@ -68,7 +68,7 @@ public class ApiController implements Serializable {
this.onlyCurrent = onlyCurrent;
}
- public String getVersion4_3_0() {
+ public String getVersion430() {
return Release.v4_3_0.getVersion();
}
}
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/70-faq/faq.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/70-faq/faq.xhtml
index 2c6d0ea..856d060 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/70-faq/faq.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/70-faq/faq.xhtml
@@ -339,7 +339,7 @@ mvn verify -Pqunit-integration-tests</code></pre>
</tc:section>
<tc:section id="integrationTestTobago4" label="Tobago 4">
- <p>Since Tobago #{apiController.version4_3_0} the integration tests are reimplemented with docker.</p>
+ <p>Since Tobago #{apiController.version430} the integration tests are reimplemented with docker.</p>
<p>To run the integration tests:</p>
<pre><code class="language-markup">cd tobago-example/tobago-example-demo
mvn -Pdocker-qunit-tests</code></pre>