I've tried what you said, and indeed if you remove the nested form, it works
like a charm for the ajax-upload.
BUT, it breaks other thing (like DatePicker in IE that do not work anymore
in modal window).

It looks like a bug, so maybe you can open a jira...

Regards,

Gabriel.


Martin Dietze wrote:
> 
> 
> | If you want to use form in modal window component make sure that you put
> the modal window itself
> | in another form (nesting forms is legal in Wicket) and that the form on
> modal window is submitted
> | before the window get closed.
> 
> However this seems to break the ajax-upload functionality. 
> I attached a zip with a modified FileUploadPage example. 
> In the example you'll see that the upload does not work.
> If you remove the 'wrapperForm' from the page and add the modal
> window to the page instead of the wrapper form, things are just
> fine.
> 
> Just wondering, is this a bug or a feature? I could not find any
> hint that ajax-based uploads have problems with nested forms?
> 

-- 
View this message in context: 
http://old.nabble.com/FileUploadField-in-a-ModalWindow-%28wicket-1.4.3%29--tp26577255p26596356.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

Reply via email to