Hello Devs,
This is regarding the capability to upload Multiple files at a time to
Xwiki.
I understand that currently the attach functionality is rendered using HTML.
The HTML file upload control does not allow mutliple files to be
selected/uploaded at one time.
Hence, I looked the JFileChooser component of Java Swing. I can write a
Class that brings up a JFileChooser object and allow multiple selections at
once.
But, I am not sure how to integrate this functionality with Xwiki ,
especially with the Velocity templates (which are used to render the pages).
Few Questions:
1) in order to achieve this, do I need to create a velocity template that
will render the fileChooser on the XWiki page ?
2) If yes, how do I accomplish this? create a new "action" and then write
the render and action methods for that?
3) If no, what are my other options to achieve this?
Please guide me.
Thanks