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 2019/01/29 14:34:38 UTC

[myfaces-tobago] branch tobago-4.x updated: Docs for Tobago 2.4

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

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


The following commit(s) were added to refs/heads/tobago-4.x by this push:
     new 3bc5612  Docs for Tobago 2.4
3bc5612 is described below

commit 3bc561242fafd4a6ada358c4918b65ab8c90e492
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Tue Jan 29 15:34:26 2019 +0100

    Docs for Tobago 2.4
---
 .../30-whats-new/86-new-in-2-4/new-in-2-4.xhtml    | 50 ++++++++++++++++++++++
 1 file changed, 50 insertions(+)

diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/30-whats-new/86-new-in-2-4/new-in-2-4.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/30-whats-new/86-new-in-2-4/new-in-2-4.xhtml
new file mode 100644
index 0000000..2b94002
--- /dev/null
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/30-whats-new/86-new-in-2-4/new-in-2-4.xhtml
@@ -0,0 +1,50 @@
+<?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">
+
+  <tc:section label="Overview">
+    <p>
+      In January 2019, Tobago 2.4 was released with a new features.
+    </p>
+  </tc:section>
+
+  <tc:section label="New Features and Enhancements">
+
+    <ul>
+      <li>File upload switched from commons-fileupload to Servlet 3.0 specification.
+        <ul>
+          <li>You no long need to define a TobagoMultipartFormdataFilter in the web.xml</li>
+          <li>There is no longer a tobago-fileupload.jar</li>
+          <li>Remove the dependency to commons-fileupload.jar in your web app, if there is any.</li>
+          <li>If using JSF 2.0 or 2.1 you will need to add a tag <code>&lt;multipart-config&gt;</code> tag to the
+            FacesServlet config in the <code>&lt;web.xml&gt;</code>.</li>
+        </ul>
+      </li>
+    </ul>
+
+    The full list is available in
+    <tc:link label="Jira" image="fa-external-link" link="#{apiController.getJiraUrl('2.4.0')}"/>.
+
+  </tc:section>
+</ui:composition>