You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by mwwbf <mw...@hotmail.com> on 2012/09/12 09:56:24 UTC

FileUploadField in ModalWindow via AjaxButton does not work anymore.(1.5.8 to 6.0.0)

Hi there,
I'm migrating from Wicket 1.5.8 to 6.0.0 and solved almost every problem I
encountered so far.

But I could not figure out why my FileUploadFields do not work anymore.

I'm using one FileUploadField in a Form in a ModalWindow and use the
AjaxButton to submit the From.
All other Fields work perfectly fine.
But as soon as I add a FileUploadField to the Form i get the following error
message on the Wicket Ajax Debug Panel.

Wicket.Ajax: Wicket.Ajax.Call.failure: Error while parsing response: Could
not find root <ajax-response> element

Did anyone encounter a similar problem?
I dont even have an idea where to continue debugging cause non of my
onValidate(..) onSubmit(..) or any methode of FileUploadPanel is ever called
after the click.

Thanks and regards
michael




--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/FileUploadField-in-ModalWindow-via-AjaxButton-does-not-work-anymore-1-5-8-to-6-0-0-tp4651936.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: FileUploadField in ModalWindow via AjaxButton does not work anymore.(1.5.8 to 6.0.0)

Posted by mwwbf <mw...@hotmail.com>.
Well... I figured out that this error occurs when you use a AjaxSubmitLink
or AjaxButton in a From with multiPart == true and only when using Opera
12.02.

works with latest Firefox and Chrome.



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/FileUploadField-in-ModalWindow-via-AjaxButton-does-not-work-anymore-1-5-8-to-6-0-0-tp4651936p4651976.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org