You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (JIRA)" <ji...@apache.org> on 2009/08/02 15:08:14 UTC

[jira] Updated: (WICKET-2410) AjaxRequestTarget could skip component when its ancestor is added too

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

Sven Meier updated WICKET-2410:
-------------------------------

    Attachment: AjaxRequestTarget.diff

Proposed change for AjaxRequestTarget.

> AjaxRequestTarget could skip component when its ancestor is added too
> ---------------------------------------------------------------------
>
>                 Key: WICKET-2410
>                 URL: https://issues.apache.org/jira/browse/WICKET-2410
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.4.0
>            Reporter: Sven Meier
>            Priority: Minor
>         Attachments: AjaxRequestTarget.diff
>
>
> Say you have the following component hierarchy:
>   Page
>   -> Component A
>       -> Component B
> Now component B is added to an AJAXRequestTarget for rendering, followed by another call to addComponent() with component A.
> This results in component B rendered twice to the AJAX response, first standalone, then embedded in A's markup.
> The attached patch skips responding of a component when its parent is added too.

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