Object layoutData = child.getLayoutData();
if (layoutData instanceof HtmlData) {
String selector = ((HtmlData) layoutData).getSelector();
XElement c = getContainerTarget().child(selector);
if (c != null) {
c.appendChild(child.getElement());
return;
}
}
super.doPhysicalAttach(child, beforeIndex);
}