Dear Taha, Tapestry users,

I checked out the Ajax upload for tapestry, that Taha thankfully made it from 
the file upload component.

http://tawus.wordpress.com/2011/06/25/ajax-upload-for-tapestry/

I have some problems with the component if anyone can help:


1.      I have changed the code to fit in my Tapestry 5.1 project, All works 
fine but the method onRemoveUpload() of AjaxUpload.java

void onRemoveUpload(@RequestParameter("serverIndex") int serverIndex)
   {
                              ...
               }

The RequestParameter annotation does not exist in tapestry 5.1 . I thought in 
Tapestry 5.1 it works by just removing the annotation but it didn't work.


2.  I use this component to upload video files, mainly, so as part of my 
validation I have to check the MIMETYPE, The content type of the file is always 
application/octet-stream , Is there any work around this?

3.      I 've learned that the component switches automatically to iframe for 
non-ajax upload supporting browsers like IE, I am using IE8 and the component 
is not showing up at all. Do you have any idea why?

Please if anyone could help in any of these points , kidly reply to my email

Thanks and Regards,

Amr Hassanin

Reply via email to