Removed request attribute freemarkerComponentsDone: no longer needed, since the call to the component generator has been centralized.

This commit is contained in:
rjy7 2010-12-08 14:22:02 +00:00
parent 9892846244
commit cc9f132503

View file

@ -44,8 +44,6 @@ public class FreemarkerComponentGenerator extends FreemarkerHttpServlet {
request.setAttribute("ftl_search", get("search", root, config, vreq));
request.setAttribute("ftl_footer", get("footer", root, config, vreq));
request.setAttribute("ftl_googleAnalytics", get("googleAnalytics", root, config, vreq));
request.setAttribute("freemarkerComponentsDone", true);
}
private String get(String templateName, Map<String, Object> root, Configuration config, HttpServletRequest request) {