> > > Message: 10 > Date: Mon, 14 Apr 2008 12:02:19 -0500 > From: "Kamna Jain" <[EMAIL PROTECTED]> > Subject: [xwiki-devs] Integrating Java Swing components with Xwiki > To: [email protected] > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > > 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 ,
Velocity is a scripting language to render web pages where as swing component is a desktop based application, unless swing components are embedded inside an applet > > 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 ? > No I don't think velocity can render JFileChooser > 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? > Try to look for ajax components which achieve the the same functionality as JFileChooser > > Please guide me. > Thanks > > > ------------------------------ > > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs > > > End of devs Digest, Vol 10, Issue 47 > ************************************ > _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

