Hello,

How can I use Stripes file uploads with the HTML multiple input tag?

For example, if I use this HTML tag to allow multiple files to be selected for 
upload:

<input type=“file” name=“files[]” multiple>

How do I handle the multiple files in Stripes?

The “name” attribute I’m using above, with the brackets, is how I’ve seen it on 
other examples on the web.  I know Stripes uses brackets for indexed 
properties, but in this case I can’t fill in an index number within the 
brackets.

I did try an example similar to the above, with this in the ActionBean class:

private List<FileBean> files;

With a public getter and setter, but Stripes didn’t appear to populate it.

Thank you!!!


This e-mail message is being sent solely for use by the intended recipient(s) 
and may contain confidential information.  Any unauthorized review, use, 
disclosure or distribution is prohibited.  If you are not the intended 
recipient, please contact the sender by phone or reply by e-mail, delete the 
original message and destroy all copies. Thank you.
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to