I have a spring portlet application and I want to be able to access a propeties file in my velocity file to display and format messages.
In a jsp file I would use
to set the name of the properties file to look for, and then either
<fmt:setBundle basename="bundleName" />
to display it, depending on whether it needed parameters or not.
<fmt:message key="property" />
I was wondering if there's a way to do this in velocity, hopefully using spring?
I read something about #springMessage('key') but couldn't find how to set the properties file or how to pass parameters to it...
Any help would be much appreciated.