Re: FileUploadField selection event
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
Re: FileUploadField selection event
I do believe in the latest versions of wicket 1.4 Ajax and fileuploadfield works via a hidden iframe Sent from my iPhone On Feb 10, 2010, at 12:01 AM, dpmihai dpmi...@yahoo.com wrote: 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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
FileUploadField selection event
Is there any way to see when user selects a file through the browse button? I want that after selection , to get the text from text field. Mike - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: FileUploadField selection event
This may help http://old.nabble.com/Where-is-the-full-client-filename-during-FileUpload--p27439835.html On Tue, Feb 9, 2010 at 1:51 AM, Mihai Dinca dpmi...@yahoo.com wrote: Is there any way to see when user selects a file through the browse button? I want that after selection , to get the text from text field. Mike - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Anantha Kumaran
Re: FileUploadField selection event
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
Re: FileUploadField selection event
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