You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by bw...@apache.org on 2006/05/08 23:48:16 UTC
svn commit: r405177 -
/tapestry/tapestry4/trunk/framework/src/documentation/content/xdocs/tapestry/ComponentReference/Upload.xml
Author: bwallace
Date: Mon May 8 14:48:14 2006
New Revision: 405177
URL: http://svn.apache.org/viewcvs?rev=405177&view=rev
Log:
[TAPESTRY-934] Fixed documentation for Upload
Modified:
tapestry/tapestry4/trunk/framework/src/documentation/content/xdocs/tapestry/ComponentReference/Upload.xml
Modified: tapestry/tapestry4/trunk/framework/src/documentation/content/xdocs/tapestry/ComponentReference/Upload.xml
URL: http://svn.apache.org/viewcvs/tapestry/tapestry4/trunk/framework/src/documentation/content/xdocs/tapestry/ComponentReference/Upload.xml?rev=405177&r1=405176&r2=405177&view=diff
==============================================================================
--- tapestry/tapestry4/trunk/framework/src/documentation/content/xdocs/tapestry/ComponentReference/Upload.xml (original)
+++ tapestry/tapestry4/trunk/framework/src/documentation/content/xdocs/tapestry/ComponentReference/Upload.xml Mon May 8 14:48:14 2006
@@ -30,8 +30,23 @@
<p>A form element used to handle file uploads. The uploaded file is represented by an instance of &IUploadFile;.</p>
+<p>The maximum upload size of a file can be set by configuring the <link href="&apiroot;/multipart/MultipartDecoder.html">MultipartDecoder</link>
+ service in hivemind. The default is 10000000(10kb).</p>
+
+<section>
+<title>Example override of default maximum file upload size.</title>
+<source><![CDATA[
+<implementation service-id="tapestry.multipart.ServletMultipartDecoder">
+<create-instance class="org.apache.tapestry.multipart.MultipartDecoderImpl,maxSize=-1" model="threaded" />
+</implementation>
+]]></source>
+</section>
+
<p>
- <strong>See also: <link href="&apiroot;/form/Upload.html">org.apache.tapestry.form.Upload</link>, &Form;</strong>
+ <strong>See also:
+
+ <link href="&apiroot;/form/Upload.html">org.apache.tapestry.form.Upload</link>, &Form;</strong>,
+ <link href="&apiroot;/multipart/ServletMultipartDecoder.html">ServletMultipartDecoder</link>
</p>
<warning>
@@ -110,7 +125,6 @@
</td>
</tr>
-
</table>
<p>