/**
* Renderiza el contenido proncipal (columna central)
*/
private void renderContents(StringBuilder xhtml, PageContext page) throws TemplateUnavailableException
{
Control control;
Iterator<Control> it = page.getPageContent(PageContext.ContentColumns.MAIN);
StringBuilder ctrl = new StringBuilder();
while (it.hasNext())
{
control = it.next();
ctrl.append(control.render()).append("\n");
}
int index = xhtml.indexOf(PageRenderer.TAG_WIDGET_CONTENT);
xhtml.replace(index, index + PageRenderer.TAG_WIDGET_CONTENT.length(), ctrl.toString());
}