I tried responding to this from my email; however, I got bumped cause apache
didn't like my email for spam reasons... Anyway.. 

Search  for SwfUploader on the mailing list archive for more details, the
short version of it is:

1. Add tapestry5-upload as a dependency to your project
2. In your page:

* inject the MultiPartDecoder, e.g.

    @Inject
    private MultipartDecoder decoder;

* in your event handler , you can get access the uploaded data :

UploadedFile file = decoder.getFileUpload("Filedata");

  I'm using SwfUploader to upload multiple files using this approach, works
like magic !

Cheers,

Alex Kotchnev

Wayward Java小白 wrote:
> 
>  i want to upload several file in one request. in my upload page, i have
> only one componet upload these files. in ServletMultipartDecoder Service
> find a getFileUpload(String parameterName),but i can't give name of every
> file. could i get all the files in the request from
> ServletMultipartDecoder
> Service?
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/ServletMultipartDecoder-Question-tp2301706p2306759.html
Sent from the Tapestry Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to