Thanks for the replies, everyone, but I found a solution. If anyone else is
facing the same issue and finds this thread, here is how I resolved:

public class CustomFreemarkerManager extends FreemarkerManager {
        @Override
        protected ScopesHashModel buildScopesHashModel(ServletContext
servletContext, HttpServletRequest request, HttpServletResponse response,
ObjectWrapper wrapper, ValueStack stack) {
                ScopesHashModel model = 
super.buildScopesHashModel(servletContext,
request, response, wrapper, stack);

                BeansWrapper beansWrapperInstance = getObjectWrapper();
                model.put("statics", beansWrapperInstance.getStaticModels());
                model.put("enums", beansWrapperInstance.getEnumModels());
                
                return model;
        }
}
-- 
View this message in context: 
http://www.nabble.com/FreeMarker-Question-tf4889630.html#a14140313
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to