public void onSubmit() {
Map<String, FileItem> files = ((MultipartWebRequest)
getRequest()).getFiles();
// do something with the files...
}
Badda bing. :)
On 8/29/05, Scott Sauyet <[EMAIL PROTECTED]> wrote:
> Sorry, I'm still missing some of the basics here, so this may be a dumb
> question.
>
> I would like to dynamically update a form, using Javascript to add new
> <.input type="file"> controls so there is no round-trip to the server to
> add additional files to the linked set of uploads. Can Wicket get at
> these dynamically added controls? Is there some example code for
> something similar?
>
> Thanks,
>
> -- Scott
>
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user