[ 
https://issues.apache.org/jira/browse/TAP5-638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13055236#comment-13055236
 ] 

Taha Hafeez commented on TAP5-638:
----------------------------------

The support for ajax based 
upload(http://www.w3.org/TR/XMLHttpRequest2/#xmlhttprequestupload) is new and 
is only supported by a few browsers. This feature requires a separate ajax 
request to the server and can't be part of the form submission. Also there has 
to be a fallback to iframe based form submission in case the browser does not 
support this feature. 

I have written an ajax-upload component 
(https://github.com/tawus/tawus/tree/master/tawus-ajaxupload). If somebody 
finds it useful, I can convert it into a patch for tapestry-upload module.

> Support for uploading files using AJAX
> --------------------------------------
>
>                 Key: TAP5-638
>                 URL: https://issues.apache.org/jira/browse/TAP5-638
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-upload
>            Reporter: Hugo Palma
>
> If the upload component is included on a form that does a partial update(has 
> the zone parameter set) the value property isn't updated with the 
> UploadedFile instance.
> So it seems that this component upload doesn't support ajax. It would be 
> great if it was possible to upload a file using AJAX.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to