Skip to content

Commit

Permalink
Render as much content as possible - even if there are missing parame…
Browse files Browse the repository at this point in the history
…ters
  • Loading branch information
tomcz committed Oct 25, 2011
1 parent 448a497 commit ffd067c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/example/ftl/HtmlFreeMarkerConfigurer.java
Expand Up @@ -30,11 +30,15 @@ protected void postProcessConfiguration(Configuration config) throws IOException

@Override
public void afterPropertiesSet() throws IOException, TemplateException {
configureFreemarkerLogger();
super.afterPropertiesSet();
}

private void configureFreemarkerLogger() {
try {
Logger.selectLoggerLibrary(Logger.LIBRARY_SLF4J);
} catch (ClassNotFoundException e) {
throw new RuntimeException(e);
}
super.afterPropertiesSet();
}
}

0 comments on commit ffd067c

Please sign in to comment.