You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Stanczak Group <ju...@stanczakgroup.com> on 2006/05/01 15:12:14 UTC

Re: MultipartDecoder maxSize setting?

Ok, thanks.

Ryan Holmes wrote:
> Yes, that's correct. The docs need to be updated. The
> tapestry.multipart.MultipartDecoder service id was changed to
> tapestry.multipart.ServletMultipartDecoder, probably to help
> differentiate it from the
> tapestry.portlet.multipart.PortletMultipartDecoder service id.
>
> An easy way to look up HiveMind service id's is via the HiveDoc report
> on the Tapestry home page. It's in the menu under
> Framework->Reports->HiveDoc.
>
> -Ryan
>
> Stanczak Group wrote:
>> Seems changing it to ServletMultipartDecoder fixes it, but is the the
>> correct way?
>>
>> Here's what I have in the hivemodule.xml:
>>
>> <implementation service-id="tapestry.multipart.ServletMultipartDecoder">
>>         <create-instance
>> class="org.apache.tapestry.multipart.MultipartDecoderImpl,maxSize=-1"
>> model="threaded" />
>>     </implementation>
>>
>> Stanczak Group wrote:
>>  
>>> What's the new method to set the max file size, I can't seem to find it
>>> in the docs, google, or in the code. Also if someone could point out
>>> how
>>> to look in the code and find the answer it would help me in the future.
>>> Here's the story. Was using 4.0 and set the maxSize like said on the
>>> docs. Got message that parameter didn't exist. Looked in code to see it
>>> wasn't there. Download 4.0.1 looked in code to see it was there, and it
>>> was. Setup like online docs say and now get "unknown service point
>>> tapestry.multipart.MultipartDecoder.". So, looked in sources again to
>>> find answer, but don't know how to find it (for example in /WEB-INF,
>>> didn't see the answer in tapestry.multipart.xml).
>>>
>>>       
>>
>>   
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>

-- 
Justin Stanczak
Stanczak Group
812-735-3600

"All that is necessary for the triumph of evil is that good men do nothing."
Edmund Burke

..________...............__.................
./  _____/..____..._____/..|_..____...____....
/...\..____/.__.\./....\...__\/.._.\./._..\....
\....\_\..\..___/|...|..\..|.(..<_>.|.<_>..)....
.\______../\___.._\__|../__|..\____/.\____/......
........\/.....\/.....\/..........................


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org