while(eItr.hasNext())
{
Object obj = eItr.next();
Entry entry = (Entry)obj;
Portlet portlet = PortletFactory.getPortlet(entry);
entries.add(new JetspeedPortletInstance(portlet, profile));
}
//Now if there are child levels, drill down recursively
if(portlets.getPortletsCount() > 0)
{