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 2022/07/28 07:04:35 UTC

[myfaces-tobago] branch tobago-5.x updated: demo: remove handling for ealier JSF versions

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

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


The following commit(s) were added to refs/heads/tobago-5.x by this push:
     new c52e43249e demo: remove handling for ealier JSF versions
c52e43249e is described below

commit c52e43249e4a15c6434778c8d988ae9318dc5287
Author: Udo Schnurpfeil <gi...@schnurpfeil.de>
AuthorDate: Thu Jul 28 09:04:31 2022 +0200

    demo: remove handling for ealier JSF versions
---
 .../src/main/webapp/content/100-upload/File_Upload.xhtml    | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/100-upload/File_Upload.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/100-upload/File_Upload.xhtml
index 6a472ac7ea..45710f0fcb 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/100-upload/File_Upload.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/100-upload/File_Upload.xhtml
@@ -23,18 +23,9 @@
                 xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
                 xmlns:f="http://xmlns.jcp.org/jsf/core">
 
-  <p>The <code class="language-markup">&lt;tc:file/></code> create a textfield with a choose directory button on the
+  <p>The <code class="language-markup">&lt;tc:file/></code> create an input field with a choose directory button on the
     right.</p>
-  <p>To load up files to the server for JSF 2.0 and 2.1 you will need to add a multipart-config entry to the
-    FacesServlet in the <code>web.xml</code> file. Since JSF 2.2 this is not required.</p>
-  <p>Here you can configure some more general information.</p>
-    <demo-highlight language="markup">&lt;multipart-config>
-  &lt;max-file-size>20848820&lt;/max-file-size>
-  &lt;max-request-size>418018841&lt;/max-request-size>
-  &lt;location>/tmp&lt;/location>
-  &lt;file-size-threshold>1048576&lt;/file-size-threshold>
-  &lt;/multipart-config>
-  </demo-highlight>
+
   <tc:link label="Tag Library Documentation" image="#{request.contextPath}/image/feather-leaf.png"
            link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/file.html"/>