Ajax requests may happen before DOM is ready
--------------------------------------------

                 Key: WICKET-994
                 URL: https://issues.apache.org/jira/browse/WICKET-994
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.3.0-beta3
         Environment: FF 2, IE 6
            Reporter: Sam Hough


If an Ajax request submits a form that was "recently" updated via Wicket Ajax 
(using innerHTML) the DOM may not yet be complete so the request is invalid.

Please find attached a Wicket application (unzip into src directory and point 
web.xml at TestWicketApplication). The quickest way to demonstrate the problem 
is to get focus on the submit button and hold down the return key. This code 
updates the whole form, in order to keep the test small, in our production code 
only a few fields are updated but the problem is the same.

Please let me know if I should change the test to be more useful.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to