Did anyone made the HTML5 multi upload control work with XPages?
Julian Buss, March 1st, 2012 12:49:45
In HTML5, you can add the "multiple" attribut to a [input type="file"] tag. WIth that attribute you can select multiple files and upload them to the server all at once, without the need for Flash.
I tried some things around this technique in Domino 8.5.3 and XPages, but without luck so far. There seems to be a problem with the XSP FileUpload code, on the Domino console I get the message
com.ibm.xsp.http.fileupload.FileUploadException: Array index out of range: 1.
So in the XSP backend there seems to be something hardcoded to allow only one file in the HTTP POST payload. I have some ideas to create workarounds, but they are all pretty complicated and I'm looking for a more simple solution.
Did anyone played with HTML5 multi file uploads yet and succeeded?
P.S. I am aware of the multi file upload control on OpenNTF, but that uses Flash, which is a no-go for my current project.