You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Matej Knopp (JIRA)" <ji...@apache.org> on 2007/05/12 15:27:22 UTC

[jira] Resolved: (WICKET-418) Ajax requests don't detach component models

     [ https://issues.apache.org/jira/browse/WICKET-418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matej Knopp resolved WICKET-418.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3

> 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
>             Fix For: 1.3
>
>
> 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.