Page reload after file upload

2008-03-06 Thread Kai Mütz
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

RE: Page reload after file upload

2008-03-06 Thread Kai Mütz
[EMAIL PROTECTED] wrote: 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:

Re: Page reload after file upload

2008-03-06 Thread Michael Sparer
-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]

RE: Page reload after file upload

2008-03-06 Thread Michael Sparer
- 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

Re: Page reload after file upload

2008-03-06 Thread Igor Vaynberg
you need to use the same form for both upload and other fields. that is just how html works. -igor On Thu, Mar 6, 2008 at 1:30 AM, Kai Mütz [EMAIL PROTECTED] 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)