a fancy solution would be to upload the file by means of an ajax request - then the values would stay the same as the page doesn't perform a full reload, that ain't as easy as it sounds, take a look a this: http://www.nabble.com/Submitting-an-ajaxform-with-multipart-form-data-to15734375.html#a15734375
regards, Michael Kai Mütz wrote: > > Hi, > > I have one form with multiple fields where I can edit a object. I want to > attach a document or image (of class Document) to the form/object using a > second upload form. This works fine if I first execute the upload, then > edit > other fields and finally submit the form. > > The problem occurs if I upload/attach a file subsequent to editing the > fields. The upload form reloads the page and the changes in the form are > gone. How can I avoid this? How can I catch the changes made before > upload? > Can nested forms solve this? > > Thanks in advance, > Kai > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > ----- Michael Sparer http://talk-on-tech.blogspot.com -- View this message in context: http://www.nabble.com/Page-reload-after-file-upload-tp15869570p15869948.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
