Re: Ajax submit form with FileUploadField

2015-02-12 Thread Martin Grigorov
Hi, Yes, it does. When there is a file input in the form Wicket needs to use an IFrame to be able to send the binary data because XmlHttpRequest v1 (IE 8/9/10 I think) doesn't support sending binary. The related code is at

Re: Ajax submit form with FileUploadField

2015-02-12 Thread mscoon
Since no-one has responded, let me try to rephrase the question: is wicket doing something different when submitting a form via ajx without and with a FileUploadField? If yes, could you please give me some pointers in the code to look at? Thanks Marios On Tue, Feb 10, 2015 at 4:36 PM, mscoon

Re: Ajax submit form with FileUploadField

2015-02-12 Thread mscoon
Thank you for your answer. One more thing. Since I am trying to submit an inner form (which has been rendered as a div) and which does not contain a FileUploadField, why would wicket use an IFrame? Is the decision being made based on the outer form for all ajax submit links? On Thu, Feb 12, 2015

Re: Ajax submit form with FileUploadField

2015-02-12 Thread Martin Grigorov
with or without file field Wicket submits all fields and on the server side by using the submitter button decides which form to process On Feb 12, 2015 8:00 PM, mscoon msc...@gmail.com wrote: Thank you for your answer. One more thing. Since I am trying to submit an inner form (which has been

Ajax submit form with FileUploadField

2015-02-10 Thread mscoon
Hi all, We are seeing strange behavior in a form that contains a FileUploadField when submitted with an AjaxSubmitLink. What happens is: 1. The form is embedded in another form, so wicket renders it as a div 2. The form is removed from it's parent element and placed within a JQuery dialog 3. The