UIComponent removableChild = _findChildById(uic, removableChildId);
if (removableChild != null)
{
List<UIComponent> children = uic.getChildren();
children.remove(removableChild);
ComponentChange rca = new RemoveChildComponentChange(removableChildId);
FacesContext fc = FacesContext.getCurrentInstance();
ChangeManager apm = RequestContext.getCurrentInstance().getChangeManager();
apm.addComponentChange(fc, uic, rca);
}
}