add freemarker view support