Re: Spring MVC 3 with SpEL, Tiles and Freemarker?
MiB <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
9 okt 2012 kl. 18:30 skrev misuss:
> Here is part of template using SpEL as FreeMarker directive:
> <@spel expression="We say '{@greetingBean.printGreeting(name)}'"/> from
> Freemarker
>
> the template evaluation result is: We say 'Hello Felix' from Freemarker
>
> @greetingBean is standard Spring bean (contains 'Hello' greeting field)
> name is FreeMarker model attribute (set up as 'Felix')
>
> This is usable only for simple SpEL expressions producing String output.
>
> For details follow this post:
> http://adaptiweb.blogspot.sk/2012/10/freemarker-template-with-spring.html
I'll check this out for my next project. Thank you.
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev