paul.barry
Aug 29th, 2005, 10:59 AM
I added a "toolboxConfigLocation" to my VelocityViewResolver bean. I understand that this makes it so that I get a VelocityToolboxView instead of VelocityView. What I noticed is that now certain variables in the context exist that didn't exist before. For example, ${session.id} prints the request.getSession().getId() value, even if I have a totally different object loaded into the context in my controller under the name "session". I assume this is because "The HttpServletRequest, HttpSession, ServletContext, and their attributes are automatically available in your templates." by the VelocityToolboxView. Can I turn this off somehow? Setting "exposeSessionAttributes" to false seems to have no effect.