@Override
public PageRenderDecorator createStructuredPageRenderDecorator(
final PageEntity page, final String languageCode,
StructureTemplateEntity template) {
if (page.isStructured()) {
return new StructurePageRenderDecorator(page, languageCode,
template, getDao(), this, getSystemService());
}
else {
logger.error("Wrong page type " + page.getTitle());
return null;