Hi Spencer,
Someone correct me if I'm wrong, but I don't think there is a way to
override the hardcoded upload limit of 10MB in Tapestry 4 without
overriding the framework. See
http://issues.apache.org/jira/browse/TAPESTRY-368 or
http://issues.apache.org/jira/browse/TAPESTRY-764
Fortunately, the fix is easy, just add a public setter for maxSize in
MultipartDecoderImpl. Then you can configure it in your hivemodule.xml
like so:
<implementation service-id="tapestry.multipart.MultipartDecoder">
<create-instance
class="org.apache.tapestry.multipart.MultipartDecoderImpl,maxSize=500000
00" model="threaded" />
</implementation>
HTH
Ben
-----Original Message-----
From: Spencer Crissman [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 15, 2005 9:17 AM
To: Tapestry User Mailing List
Subject: Large Upload Configuration
Hello. I've updated an application from T3 to T4, and have had success
in
getting everything running, but one issue is outstanding. The user
needs to
be able to upload large files, and I can no longer find where to set
this
property. In T3, the following was used in the .application file:
<extension name="org.apache.tapestry.multipart-decoder"
class="org.apache.tapestry.multipart.DefaultMultipartDecoder"
>
<configure property-name="maxSize" type="double"
value="50000000" />
</extension>
Where has that moved to? I'm sorry if this has come up, but all the
references I have found on the web have dealt with this in T3 rather
than
T4.
Thanks for the direction,
Spencer
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]