[ https://issues.apache.org/jira/browse/WICKET-1625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg reassigned WICKET-1625: ------------------------------------- Assignee: Matej Knopp matej, what to do with this one? > ajax update brakes Form in ModalWindow > -------------------------------------- > > Key: WICKET-1625 > URL: https://issues.apache.org/jira/browse/WICKET-1625 > Project: Wicket > Issue Type: Bug > Components: wicket, wicket-extensions > Affects Versions: 1.3.3 > Environment: tested in IE7, FF2 and FF3 > Reporter: david r. > Assignee: Matej Knopp > Priority: Critical > Attachments: wicket-quickstart-form-modal-bug.zip > > > When a Form contained by a ModalWindow is updated via AJAX (for example to > perform field validation), the AJAX response is correct (the full correct > form is in the response) but the final HTML code (after the Ajax update) is > erroneous. > A consequence is that a second attempt to submit the same Form via AJAX > generates a JavaScript error: wicket-ajax.js, line 456, "element has no > properties". > In other words, "element" is NULL at this point. > A possible reason for this: > By looking at the HTML with Firebug, one can see that before the first AJAX > call, the page looks like <html>...<form > id="bar"><formfields>...</formfields></form></html> and after the request > (i.e. after the AJAX update of the Form) the code is > <html>...<formfields>...</formfields></html> : the "form" tags disappeared > from the HTML code... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.