Hi Cyril
this is the way I can understand the question:
The 'upload' command interface handles the upload of multiple files as
uploading multiple files has been part of the protocol from almost the
beginning and it's not specifically an introduction of HTML5
(like the 'multiple' attribute). See the command 'upload':
'upload names' return a list of names.
I think the attribute 'multiple' was introduced to provide a
standard way to tell browsers how to build multiple
file upload forms. As such it should pertain the browser not the
servlet.
If it doesn't work to you I presume you have either
to check the DOCTYPE line at the very beginning of your template (it
must
be a valid HTML5 declaration) or check your browser. IIRC also the
content-type headers must be set properly in order to force a browser
to interpret the code as HTML5
The protocol itself not only specifies how to build a the multiple file
upload, but in principle also enables a client to build a multipart
message
where the 'parts' can be nested one into another. Honestly
I don't know how Rivet would behave in this case.
-- Massimo
On Sat, 15 Oct 2011 23:00:14 +0400, Cyril Shumf wrote:
Hello all!
I'm trying to upload multiple files using the 'multiple' attribute ,
but the Rivet saves only one file. This feature is supported?
For example:
<input type='file' name='product_images' multiple='multiple' />
---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org
For additional commands, e-mail: rivet-dev-h...@tcl.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org
For additional commands, e-mail: rivet-dev-h...@tcl.apache.org