implements Freemarker view for example