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" wrote:
> Thank you for your answer.
>
> One more thing. Since I am trying to submit an inner form (which has been
> rendered as
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
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
https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/
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 wro
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 o