Hello, I have a wicket page with a form. The form has to be multipart because an upload file component can be added dynamically into the form by ajax. When this upload file component is added/removed from the form, a javacript error occurred sometimes on Firefox : "xmlAsString is undefined"
The code failing is in wicket-ajax-jquery (Wicket6) in htmlToDomDocument method : "var xmlAsString = htmlDocument.body.outerText;" I don't understand multipart form mechanism but I have done some investigations : 'htmlToDomDocument' method is called only when multipart form "iframe" is in 'BackCompat' mode. On Firefox, empty iframes are in 'BackCompat' mode. So 'htmlToDomDocument ' can be called on Firefox. However, body.outerText is an IE/Webkit property , not a Firefox property. Thanks, Jean-Philippe
