How do you configure Spring 3 to use a custom object wrapper to use with FreeMarker?
I've created a custom object wrapper for FreeMarker but I'm not sure how you configure Spring 3 to use the wrapper. The following has no effect:
<bean id="freemarkerConfig"
class="org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer">
<property name="templateLoaderPath" value="/WEB-INF/classes/templates/"/>
<property name="freemarkerSettings">
<props>
<prop key="object_wrapper">my.custom.ObjectWrapper</prop>
</props>
</property>
</bean>
Any pointers appreciated.