Re: freemarker and spring

Daniel Dekany <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
I don't know the answer... As far as FreeMarker is concerned, what you
want is doable, but it's up to the Web Application Framework (Spring
MVC in this case) whether it does this or not. So you probably will
have more luck with this question on some Spring-related lists.


Monday, April 9, 2012, 9:25:26 PM, S Ahmed wrote:

> When using freemarker and spring, I was looking at the source code
> of the freemarker viewresolver etc. and I recall seeing a place
> where request attribute level objects can merged into the
> ModelAndView that is sent to the view.
>
> Is this true?
>
> So if I have:
>
> request.setAttribute("someObject", someObject);
>
> that I set using a filter for example, when my view is rendered
> does this mean the someObject will be available in my freemarker
> view or is there is a config setting I have to switch to allow for this to happen?

-- 
Best regards,
 Daniel Dekany


------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.