protected void onRender()
{
final ComponentHierarchyIterator visitChildren = getPage().visitChildren(
FacebookRootProvider.class);
if (!visitChildren.hasNext())
throw new MissingFacebookRootException();
if (findPage() != null)
{
AjaxRequestTarget target = getRequestCycle().find(AjaxRequestTarget.class);
if (target != null)