{
List childPages = new ArrayList();
try
{
List childNodeVOList = this.nodeDeliveryController.getChildSiteNodes(getDatabase(), siteNodeId);
Collections.sort(childNodeVOList, new SiteNodeComparator(sortAttribute, sortOrder, this));
childPages = getPages(childNodeVOList, escapeHTML, hideUnauthorizedPages);
}
catch(Exception e)
{
logger.error("An error occurred trying to get the page childPages:" + e.getMessage(), e);