It isn't a problem if you use the filter bundled with Sitemesh. However, it doesn't work if you use the plugin filters...

     <filter>
         <filter-name>sitemesh</filter-name>
<filter- class>org.apache.struts2.sitemesh.FreeMarkerPageFilter</filter-class>
     </filter>

You need to use this filter to access the valueStack and other struts 2 objects with your decorators. It is the filter recommended by the struts 2 website for integration with sitemesh.

Hope this helps!

-- Christian


On Oct 21, 2009, at 12:00 PM, Dale Newfield wrote:

I use struts 2.1.8 with freemarker 2.3.15 and sitemesh 2.4.2...I haven't witnessed any problems, but besides the freemarker that struts uses to expand tags I don't use freemarker in my project. Are there issues that I've not noticed, or do those issues only arise when using freemarker more exetensively?

-Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org


--
           _,--"
cws        `-._        ________-_______         "----
       _----'--'--------------------------------'--'----_
      //_| | \ Christian Stone, Software Engineer / | |_\\
     (_____|_|__=     xt...@stonescape.net     =__|_|_____)
     _\_____=__   http://xtian.stonescape.net/        ___/_
       \/-(o)-~~-(o)-~~-(o)-`------'-(o)-~~-(o)-~~-(o)-\/



Reply via email to