You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2021/03/17 08:42:29 UTC

[myfaces-tobago] branch master updated: chore(dist): correct download links

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

bommel 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 f6167a2  chore(dist): correct download links
f6167a2 is described below

commit f6167a21835dfd9c42fa80da835c8f97ac18981b
Author: Bernd Bohmann <bo...@apache.org>
AuthorDate: Wed Mar 17 09:39:52 2021 +0100

    chore(dist): correct download links
---
 .../myfaces/tobago/example/demo/ApiController.java |  4 +--
 .../myfaces/tobago/example/demo/Release.java       | 18 +++++++------
 .../main/webapp/content/10-intro/80-api/API.xhtml  |  4 ---
 .../content/10-intro/85-download/Download.xhtml    | 30 ----------------------
 4 files changed, 12 insertions(+), 44 deletions(-)

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 ecf7c01..584d91a 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
@@ -63,7 +63,7 @@ public class ApiController implements Serializable {
   }
 
   public String getBase() {
-    return "http://myfaces.apache.org/tobago";
+    return "https://myfaces.apache.org/tobago";
   }
 
   public boolean isOnlyCurrent() {
@@ -89,7 +89,7 @@ public class ApiController implements Serializable {
       }
     }
     LOG.error("No current release found!");
-    return Release.v4_5_2.getVersion(); // should not happen
+    return Release.v4_5_3.getVersion(); // should not happen
   }
 
   public String getJiraUrl(final String version) {
diff --git a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/Release.java b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/Release.java
index e13f244..cad5096 100644
--- a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/Release.java
+++ b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/Release.java
@@ -21,7 +21,7 @@ package org.apache.myfaces.tobago.example.demo;
 
 public enum Release {
 
-  v1_0_7("12310824"),
+  /*v1_0_7("12310824"),
   v1_0_8("12310900"),
   v1_0_9("12312042"),
   v1_0_10("12312204"),
@@ -107,11 +107,13 @@ public enum Release {
   v2_4_1("12344899"),
   v2_4_2("12345177"),
   v2_4_3("12346997"),
+
+   */
   v2_4_4("12349632", true),
   v2_4_5("12349661", false, true),
   v2_5_0("12345962", false, true),
 
-  v3_0_0_alpha_1("12325880"),
+  /*v3_0_0_alpha_1("12325880"),
   v3_0_0_alpha_2("12333887"),
   v3_0_0_alpha_3("12334363"),
   v3_0_0_alpha_4("12337842"),
@@ -126,22 +128,22 @@ public enum Release {
   v3_0_4("12340258"),
   v3_0_5("12340325"),
   v3_0_6("12341574"),
-  v3_1_0("12342388"),
+  v3_1_0("12342388"),*/
   v3_1_1("12343478", true),
 
-  v4_0_0("12338728"),
+  /*v4_0_0("12338728"),
   v4_1_0("12339443"),
   v4_2_0("12342739"),
-  v4_2_1("12342849"),
+  v4_2_1("12342849"),*/
   v4_3_0("12342850"),
-  v4_3_1("12343951"),
+  /*v4_3_1("12343951"),
   v4_3_2("12344394"),
   v4_4_0("12344541"),
   v4_4_1("12345061"),
   v4_5_0("12345562"),
   v4_5_1("12348200"),
-  v4_5_2("12349344", true),
-  v4_5_3("12349662", false, true),
+  v4_5_2("12349344"),*/
+  v4_5_3("12349662", true),
 
   v5_0_0("12338729", false, true),
   v5_0_1("12344151", false, true),
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/80-api/API.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/80-api/API.xhtml
index 503114e..66f1731 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/80-api/API.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/80-api/API.xhtml
@@ -29,10 +29,6 @@
       Documentation of the Java classes and the tags.
     </p>
 
-    <tc:selectBooleanCheckbox value="#{apiController.onlyCurrent}" label="Show current only">
-      <f:ajax render="api" listener="#{apiController.init}"/>
-    </tc:selectBooleanCheckbox>
-
     <tc:sheet value="#{apiController.releases}" var="release">
       <tc:column label="Version">
         <tc:out value="#{release.version}" labelLayout="skip" compact="true"/>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/85-download/Download.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/85-download/Download.xhtml
index a25bdd2..875ab57 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/85-download/Download.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/85-download/Download.xhtml
@@ -49,10 +49,6 @@
       version of tar.
     </p>
 
-    <tc:selectBooleanCheckbox value="#{apiController.onlyCurrent}" label="Show current only">
-      <f:ajax render="download" listener="#{apiController.init}"/>
-    </tc:selectBooleanCheckbox>
-
     <ui:repeat value="#{apiController.releases}" var="release">
 
       <tc:section label="MyFaces Tobago #{release.version} Distribution">
@@ -111,32 +107,6 @@
                 link="https://downloads.apache.org/myfaces/source/myfaces-tobago-#{release.version}-source-release.zip.asc"
                 label="myfaces-tobago-#{release.version}-source-release.zip.asc" image="fa-external-link"/></td>
           </tr>
-          <tr>
-            <td>MyFaces Tobago Example</td>
-            <td>tar.gz</td>
-            <td><tc:link
-                link="https://www.apache.org/dyn/closer.lua/myfaces/binaries/myfaces-tobago-#{release.version}-example.tar.gz"
-                label="myfaces-tobago-#{release.version}-example.tar.gz" image="fa-external-link"/></td>
-            <td><tc:link
-                link="https://downloads.apache.org/myfaces/binaries/myfaces-tobago-#{release.version}-example.tar.gz.sha256"
-                label="myfaces-tobago-#{release.version}-example.tar.gz.sha256" image="fa-external-link"/></td>
-            <td><tc:link
-                link="https://downloads.apache.org/myfaces/binaries/myfaces-tobago-#{release.version}-example.tar.gz.asc"
-                label="myfaces-tobago-#{release.version}-example.tar.gz.asc" image="fa-external-link"/></td>
-          </tr>
-          <tr>
-            <td>MyFaces Tobago Example</td>
-            <td>zip</td>
-            <td><tc:link
-                link="https://www.apache.org/dyn/closer.lua/myfaces/binaries/myfaces-tobago-#{release.version}-example.zip"
-                label="myfaces-tobago-#{release.version}-example.zip" image="fa-external-link"/></td>
-            <td><tc:link
-                link="https://downloads.apache.org/myfaces/binaries/myfaces-tobago-#{release.version}-example.zip.sha256"
-                label="myfaces-tobago-#{release.version}-example.zip.sha256" image="fa-external-link"/></td>
-            <td><tc:link
-                link="https://downloads.apache.org/myfaces/binaries/myfaces-tobago-#{release.version}-example.zip.asc"
-                label="myfaces-tobago-#{release.version}-example.zip.asc" image="fa-external-link"/></td>
-          </tr>
           </tbody>
         </table>