I remembered it seems that file uploading is not supported by XHR.

DH

----- Original Message ----- 
From: "Hugo Palma" 
Sent: Monday, June 08, 2009 2:46 AM
Subject: Re: File upload and AJAXized forms


> I've created an issue for this  (
> https://issues.apache.org/jira/browse/TAP5-638)
> You can vote for it if you want it fixed.
> 
> 2009/6/7 grabarz <umrzy...@gazeta.pl>
> 
>> hi,
>> is it possible to use tapestry-upload with form submitted by XHR? i was
>> trying to use uploading in such a form, but no success. deeper digging
>> pointed me to MultipartServletRequestFilter. in the following code:
>>
>> public boolean service(HttpServletRequest request, HttpServletResponse
>> response, HttpServletRequestHandler handler) throws IOException
>> {
>>  HttpServletRequest newRequest =
>> ServletFileUpload.isMultipartContent(request) ? decoder.decode(request) :
>> request;
>>  return handler.service(newRequest, response);
>> }
>>
>> the condition ServletFileUpload.isMultipartContent(request) is false
>> each time. is there anything i should do more to make my request a
>> multiparted one?
>>
>> thanks,
>> m.
>>
>>
>> --
>> Mess with the best, die like a rest!
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
>

Reply via email to