Re: [Wicket-user] Registering dynamically added controls

2005-08-29 Thread Phil Kulak
Yea, it's the name of the input field, not the file. On 8/29/05, Scott Sauyet <[EMAIL PROTECTED]> wrote: > Phil Kulak wrote: > > public void onSubmit() { > >Map files = ((MultipartWebRequest) > > getRequest()).getFiles(); > >// do something with the files... > > } > > > > Badda bing. :) >

Re: [Wicket-user] Registering dynamically added controls

2005-08-29 Thread Scott Sauyet
Phil Kulak wrote: public void onSubmit() { Map files = ((MultipartWebRequest) getRequest()).getFiles(); // do something with the files... } Badda bing. :) Wow, that's easy enough. I'm quite impressed with Wicket so far. The String is the name attribute? Thanks, -- Scott --

Re: [Wicket-user] Registering dynamically added controls

2005-08-29 Thread Phil Kulak
public void onSubmit() { Map 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 lik

[Wicket-user] Registering dynamically added controls

2005-08-29 Thread Scott Sauyet
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 a