Hi, Can you reproduce this in a quickstart app ? If YES then please attach it to a ticket in Jira. What OS do you use ?
Martin Grigorov Wicket Training and Consulting On Thu, Jan 9, 2014 at 1:43 PM, Jean-Philippe Signorino < [email protected]> wrote: > 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 >
