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