//Thread.sleep(100);
}
private void recurseSiteNodeTree(Integer siteNodeId, Integer languageId, TemplateController templateController) throws Exception
{
SiteNode siteNode = SiteNodeController.getController().getSiteNodeWithId(siteNodeId, templateController.getDatabase(), true);
SiteNodeVO siteNodeVO = templateController.getSiteNode(siteNodeId);
Collection childSiteNodes = siteNode.getChildSiteNodes();
Iterator childSiteNodesIterator = childSiteNodes.iterator();
while(childSiteNodesIterator.hasNext())
{
SiteNode childSiteNode = (SiteNode)childSiteNodesIterator.next();
recurseSiteNodeTree(childSiteNode.getSiteNodeId(), languageId, templateController);
Integer metaInfoContentId = templateController.getMetaInformationContentId(childSiteNode.getSiteNodeId());
templateController.getContentAttribute(metaInfoContentId, languageId, "ComponentStructure", true);
}
}