myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r1733502 - in /myfaces/tobago/trunk/src/site/apt: migration-3.0.apt new-3.0.apt
Date Thu, 03 Mar 2016 17:27:34 GMT
Author: lofwyr
Date: Thu Mar  3 17:27:34 2016
New Revision: 1733502

URL: http://svn.apache.org/viewvc?rev=1733502&view=rev
Log:
TOBAGO-1539: Using Servlet 3.0 for uploading files with <tc:file>

Modified:
    myfaces/tobago/trunk/src/site/apt/migration-3.0.apt
    myfaces/tobago/trunk/src/site/apt/new-3.0.apt

Modified: myfaces/tobago/trunk/src/site/apt/migration-3.0.apt
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/src/site/apt/migration-3.0.apt?rev=1733502&r1=1733501&r2=1733502&view=diff
==============================================================================
--- myfaces/tobago/trunk/src/site/apt/migration-3.0.apt (original)
+++ myfaces/tobago/trunk/src/site/apt/migration-3.0.apt Thu Mar  3 17:27:34 2016
@@ -69,6 +69,17 @@ Migration from Tobago 2.0 to 3.0 (work i
 
 * tc:image has no longer the attributes width and height, please use a tc:style child tag
instead.
 
+* File upload now uses the Servlet 3.0 features.
+
+  * You no long need to define a TobagoMultipartFormdataFilter in the web.xml
+
+  * There is no longer a tobago-fileupload.jar
+
+  * Remove the dependency to commons-fileupload.jar in your web app, if there is any.
+
+  * If using JSF 2.0 or 2.1 you will need to add a tag <<<\multipart-config\>>>>
Tag to the FacesServlet config
+    in the <<<web.xml>>>.
+
 * Introducing enums instead of constant classes
 
     Some static utils classes are migrated to Java enums.

Modified: myfaces/tobago/trunk/src/site/apt/new-3.0.apt
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/src/site/apt/new-3.0.apt?rev=1733502&r1=1733501&r2=1733502&view=diff
==============================================================================
--- myfaces/tobago/trunk/src/site/apt/new-3.0.apt (original)
+++ myfaces/tobago/trunk/src/site/apt/new-3.0.apt Thu Mar  3 17:27:34 2016
@@ -65,6 +65,8 @@ New Features and Enhancements
 
     * Rich variations of positioning the label with new attribute labelLayout
 
+* File upload now uses Servert 3.0 instead of Commons Fileupload. This simplifies the setup.
+
 Internal Refactoring
 
     [todo]



Mime
View raw message