Thanks for this tip. I wonder if there is a possibility to create a behavior and add this to it. I know that FileUploadField does not work with Ajax , so writing an AjaxFormComponentUpdatingBehavior does not work. Does anyone know a solution to this?
ananthakumaran wrote: > > <form> > <input id="test" type="file" onchange=" > document.getElementById('secondBox').value = > document.getElementById('test').value; > "></input> > <input id="secondBox" type="text" /> > </form> > > On Tue, Feb 9, 2010 at 3:22 AM, dpmihai <dpmi...@yahoo.com> wrote: > >> >> What I really want is that after file selection automatically set the >> text >> of >> another TextField (inside my form) with a string derived from selected >> file >> name. >> >> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> >> >> >> -- >> View this message in context: >> http://old.nabble.com/FileUploadField-selection-event-tp27512780p27513776.html >> Sent from the Wicket - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > > -- > ---- > Anantha Kumaran > > -- View this message in context: http://old.nabble.com/FileUploadField-selection-event-tp27512780p27527078.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org