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.

Reply via email to