draft extension for spring-freemarker