release info
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 d21eb93..0bbf5b4 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
@@ -71,4 +71,9 @@
public String getVersion430() {
return Release.v4_3_0.getVersion();
}
+
+ public String getJiraUrl(final String version) {
+ final Release release = Release.valueOf("v" + version.replaceAll("\\.", "_"));
+ return "https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310273&version=" + release.getJira();
+ }
}
diff --git a/tobago-example/tobago-example-demo/src/main/resources/org/apache/myfaces/tobago/example/demo/Demo.xml b/tobago-example/tobago-example-demo/src/main/resources/org/apache/myfaces/tobago/example/demo/Demo.xml
index faede15..ee998c2 100644
--- a/tobago-example/tobago-example-demo/src/main/resources/org/apache/myfaces/tobago/example/demo/Demo.xml
+++ b/tobago-example/tobago-example-demo/src/main/resources/org/apache/myfaces/tobago/example/demo/Demo.xml
@@ -40,10 +40,14 @@
<entry key="intro">Intro</entry>
<entry key="getting_started">Getting started</entry>
<entry key="whats_new">What's new?</entry>
+ <entry key="new_in_4_3">Tobago 4.3</entry>
<entry key="new_in_4_2">Tobago 4.2</entry>
<entry key="new_in_4_1">Tobago 4.1</entry>
<entry key="new_in_4_0">Tobago 4</entry>
+ <entry key="new_in_3_1">Tobago 3.1</entry>
<entry key="new_in_3_0">Tobago 3</entry>
+ <entry key="new_in_2_2">Tobago 2.2</entry>
+ <entry key="new_in_2_1">Tobago 2.1</entry>
<entry key="new_in_2_0">Tobago 2</entry>
<entry key="migration">Migration</entry>
<entry key="migration15">1.0 to 1.5</entry>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/30-whats-new/67-new-in-4-3/new-in-4-3.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/30-whats-new/67-new-in-4-3/new-in-4-3.xhtml
new file mode 100644
index 0000000..a477a2b
--- /dev/null
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/30-whats-new/67-new-in-4-3/new-in-4-3.xhtml
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
+
+<ui:composition template="/main.xhtml"
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:tc="http://myfaces.apache.org/tobago/component"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core">
+ <ui:param name="title" value="#{demoBundle.new_in_4_3}"/>
+
+ <tc:section label="Overview">
+ <p>
+ In September 2018, Tobago 4.3 was released with some bugfixes and new features.
+ </p>
+ </tc:section>
+
+ <tc:section label="New Features and Enhancements">
+
+ <ul>
+ <li>New toggle component: <code><tc:selectBooleanToggle></code></li>
+ <li>Update to Bootstrap 4.1.3</li>
+ <li>Update to jQuery 3</li>
+ <li>Vertical align vor Sheets</li>
+ <li>"plain" attribute</li>
+ <li>"keepLineBreaks" attribute</li>
+ <li>Icons in FacesMessages</li>
+ <li>tooltop for <code><tc:badge></code></li>
+ <li><code>java.util.Calendar</code> and <code>java.time.DateTime</code> support for <code><tc:date></code></li>
+ <li>LabelLayout attributes gridLeft, gridRight</li>
+ <li>Passwords aren't sent to the client</li>
+ <li>Bugfixes</li>
+ </ul>
+
+ The full list is available in
+ <tc:link label="Jira" image="fa-external-link" link="#{apiController.getJiraUrl('4.3.0')}"/>.
+
+ </tc:section>
+</ui:composition>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/30-whats-new/68-new-in-4-2/new-in-4-2.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/30-whats-new/68-new-in-4-2/new-in-4-2.xhtml
index 0352503..40bb226 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/30-whats-new/68-new-in-4-2/new-in-4-2.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/30-whats-new/68-new-in-4-2/new-in-4-2.xhtml
@@ -42,8 +42,7 @@
</ul>
The full list is available in
- <tc:link label="Jira" image="fa-external-link"
- link="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310273&version=12342739"/>.
+ <tc:link label="Jira" image="fa-external-link" link="#{apiController.getJiraUrl('4.2.0')}"/>.
</tc:section>
</ui:composition>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/30-whats-new/69-new-in-4-1/new-in-4-1.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/30-whats-new/69-new-in-4-1/new-in-4-1.xhtml
index 08142d6..3ebb20a 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/30-whats-new/69-new-in-4-1/new-in-4-1.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/30-whats-new/69-new-in-4-1/new-in-4-1.xhtml
@@ -40,8 +40,7 @@
</ul>
The full list is available in
- <tc:link label="Jira" image="fa-external-link"
- link="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310273&version=12339443"/>.
+ <tc:link label="Jira" image="fa-external-link" link="#{apiController.getJiraUrl('4.1.0')}"/>.
</tc:section>
</ui:composition>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/30-whats-new/70-new-in-4-0/new-in-4-0.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/30-whats-new/70-new-in-4-0/new-in-4-0.xhtml
index b697a8c..8b48ea8 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/30-whats-new/70-new-in-4-0/new-in-4-0.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/30-whats-new/70-new-in-4-0/new-in-4-0.xhtml
@@ -49,8 +49,7 @@
</ul>
The full list is available in
- <tc:link label="Jira" image="fa-external-link"
- link="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310273&version=12338728"/>.
+ <tc:link label="Jira" image="fa-external-link" link="#{apiController.getJiraUrl('4.0.0')}"/>.
</tc:section>
<tc:section label="Layout Managers">
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/30-whats-new/79-new-in-3-1/new-in-3-1.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/30-whats-new/79-new-in-3-1/new-in-3-1.xhtml
new file mode 100644
index 0000000..d7c31d2
--- /dev/null
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/30-whats-new/79-new-in-3-1/new-in-3-1.xhtml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
+
+<ui:composition template="/main.xhtml"
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:tc="http://myfaces.apache.org/tobago/component"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core">
+ <ui:param name="title" value="#{demoBundle.new_in_3_1}"/>
+
+ <tc:section label="Overview">
+ <p>
+ In September 2018, Tobago 3.1 was released with some bugfixes and new features.
+ </p>
+ </tc:section>
+
+ <tc:section label="New Features and Enhancements">
+
+ <ul>
+ <li>Update to jQuery 3</li>
+ <li>Passwords aren't sent to the client</li>
+ <li>Bugfixes</li>
+ </ul>
+
+ The full list is available in
+ <tc:link label="Jira" image="fa-external-link" link="#{apiController.getJiraUrl('3.1.0')}"/>.
+
+ </tc:section>
+</ui:composition>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/30-whats-new/80-new-in-3-0/new-in-3-0.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/30-whats-new/80-new-in-3-0/new-in-3-0.xhtml
index b45570f..ab9f40b 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/30-whats-new/80-new-in-3-0/new-in-3-0.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/30-whats-new/80-new-in-3-0/new-in-3-0.xhtml
@@ -26,8 +26,7 @@
the first final release followed in December 2016.
Here is a quick overview over the features and changes made in the last time to release this major revision.</p>
<p>Tobago 3.0.0 contains several entries in
- <tc:link label="Jira"
- link="http://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310273&styleName=Html&version=12325880"/>
+ <tc:link label="Jira" image="fa-external-link" link="#{apiController.getJiraUrl('3.0.0')}"/>.
and most of them are exclusive in this version.</p>
<p>Please take also a look at the <tc:link label="Migration from Tobago 2.0 to 3.0"
outcome="/content/10-intro/50-migration/97-migration/migration30.xhtml"/> guide.</p>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/30-whats-new/88-new-in-2-2/new-in-2-2.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/30-whats-new/88-new-in-2-2/new-in-2-2.xhtml
new file mode 100644
index 0000000..de5480a
--- /dev/null
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/30-whats-new/88-new-in-2-2/new-in-2-2.xhtml
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
+
+<ui:composition template="/main.xhtml"
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:tc="http://myfaces.apache.org/tobago/component"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core">
+ <ui:param name="title" value="#{demoBundle.new_in_2_2}"/>
+
+ <tc:section label="Overview">
+ <p>
+ In September 2018, Tobago 2.2 was released with some bugfixes and new features.
+ </p>
+ </tc:section>
+
+ <tc:section label="New Features and Enhancements">
+
+ <ul>
+ <li>Update to jQuery 3</li>
+ <li>IE 8 is no longer supported</li>
+ <li>PageState is usable for layout</li>
+ <li>Passwords aren't sent to the client</li>
+ <li>Bugfixes</li>
+ </ul>
+
+ The full list is available in
+ <tc:link label="Jira" image="fa-external-link" link="#{apiController.getJiraUrl('2.2.0')}"/>.
+
+ </tc:section>
+</ui:composition>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/30-whats-new/90-new-in-2-0/new-in-2-0.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/30-whats-new/90-new-in-2-0/new-in-2-0.xhtml
index 33e846f..d498896 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/30-whats-new/90-new-in-2-0/new-in-2-0.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/30-whats-new/90-new-in-2-0/new-in-2-0.xhtml
@@ -25,8 +25,7 @@
<p>At July 21, 2014 the version 2.0.0 has been released. Here was a quick overview over the features and changes made
in the last time to release this major revision.</p>
<p>Tobago 2.0.0 contains 184 entries in
- <tc:link label="Jira"
- link="https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310273&styleName=Html&version=12321253"/>
+ <tc:link label="Jira" image="fa-external-link" link="#{apiController.getJiraUrl('2.0.0')}"/>.
and most of them are exclusive in this version.</p>
<p>Please take also a look at the
<tc:link label="Migration from Tobago 1.5 to 2.0"
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/30-whats-new/whats-new.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/30-whats-new/whats-new.xhtml
index 8e23691..3e3b42e 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/30-whats-new/whats-new.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/30-whats-new/whats-new.xhtml
@@ -28,6 +28,10 @@
</p>
<ul>
<li>
+ <tc:link label="#{demoBundle.new_in_4_3}"
+ outcome="/content/10-intro/30-whats-new/67-new-in-4-3/new-in-4-3.xhtml"/>
+ </li>
+ <li>
<tc:link label="#{demoBundle.new_in_4_2}"
outcome="/content/10-intro/30-whats-new/68-new-in-4-2/new-in-4-2.xhtml"/>
</li>
@@ -40,10 +44,18 @@
outcome="/content/10-intro/30-whats-new/70-new-in-4-0/new-in-4-0.xhtml"/>
</li>
<li>
+ <tc:link label="#{demoBundle.new_in_3_1}"
+ outcome="/content/10-intro/30-whats-new/79-new-in-3-1/new-in-3-1.xhtml"/>
+ </li>
+ <li>
<tc:link label="#{demoBundle.new_in_3_0}"
outcome="/content/10-intro/30-whats-new/80-new-in-3-0/new-in-3-0.xhtml"/>
</li>
<li>
+ <tc:link label="#{demoBundle.new_in_2_2}"
+ outcome="/content/10-intro/30-whats-new/88-new-in-2-2/new-in-2-2.xhtml"/>
+ </li>
+ <li>
<tc:link label="#{demoBundle.new_in_2_0}"
outcome="/content/10-intro/30-whats-new/90-new-in-2-0/new-in-2-0.xhtml"/>
</li>