public ConcreteElement buildTemplate(RunData data)
throws Exception
{
SimpleHash context = getContext(data);
String templateName = data.getTemplateInfo().getNavigationTemplate();
FreeMarkerService fm = (FreeMarkerService)
TurbineServices.getInstance()
.getService(FreeMarkerService.SERVICE_NAME);
StringElement output = new StringElement();
output.setFilterState(false);
output.addElement(
fm.handleRequest(context, "navigations/" + templateName, true));
return output;
}