}
}
public void addSites(CmsPageTreeNode parentNode) {
try {
CmsSitesRemote siteManager = (CmsSitesRemote) ClientTools.getRemoteBean(CmsSitesRemote.class);
List<CmsSite> sites = siteManager.getDatasets("", "", ClientGlobals.getUser(), ClientGlobals.getCompany(), 0, 0);
Iterator<CmsSite> it = sites.iterator();
while (it.hasNext()) {
CmsSite site = it.next();
CmsPageTreeNode node = new CmsPageTreeNode(site.getTitle(), site, null);
parentNode.add(node);