Ajax requests don't detach component models
-------------------------------------------

                 Key: WICKET-418
                 URL: https://issues.apache.org/jira/browse/WICKET-418
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.3
            Reporter: Matej Knopp
         Assigned To: Matej Knopp


After ajax request the component models are not detached. Page onDetach should 
detach those models, but since the page itself is not attached, the onDetach 
method is not called.

It's necessary to always call page.detachModels after request. And we should 
only call page.detach from the request target. The ajax request target should 
not page.detach, as the behaviorrequesttarget should do that. 

-- 
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