Hi all,
I'm trying to use #springUrl(...) macro in my velociy template but the following:
outputs as:Code:#springUrl("admin.css")
Any ideas?Code:$springMacroRequestContext.getContextPath()admin.css
Thanks, Jon
Hi all,
I'm trying to use #springUrl(...) macro in my velociy template but the following:
outputs as:Code:#springUrl("admin.css")
Any ideas?Code:$springMacroRequestContext.getContextPath()admin.css
Thanks, Jon
Do you have this property set on your VelocityViewResolver?
Code:<property name="exposeSpringMacroHelpers"><value>true</value></property>
Yes, but as it turned out, the view resolver wasn't being hit because I was using a VelocityLayoutView type view with explicit url refs to velocity template files within. All is good now. Thanks, Jon