Re: Struts2 + Sitemesh + Freemarker doesn't work

2010-03-19 Thread jonathan doklovic
Thanks, I actually decided to just build it from source should have just done that in the first place. That got everything mostly working, however, I'm also using the struts-osgi plugin and found a bug where the FreemarkerManager (in osgi it's BundleFreemarkerManager) wasn't looking for r

Re: Struts2 + Sitemesh + Freemarker doesn't work

2010-03-18 Thread Wes Wannemacher
On Thu, Mar 18, 2010 at 12:02 PM, jonathan doklovic wrote: > I almost have this working, however, it seems that > struts-core-2.2.0-SNAPSHOT depends on xwork-2.2.0-SNAPSHOT which doesn't > seem to be available anywhere. It's here - http://hudson.zones.apache.org/hudson/view/Struts/job/struts2/1

Re: Struts2 + Sitemesh + Freemarker doesn't work

2010-03-18 Thread jonathan doklovic
I almost have this working, however, it seems that struts-core-2.2.0-SNAPSHOT depends on xwork-2.2.0-SNAPSHOT which doesn't seem to be available anywhere. Also, the struts-convention-2.2.0-SNAPSHOT tries to call a method in xwork that doesn't exist: com.opensymphony.xwork2.util.finder.ClassFi

Re: Struts2 + Sitemesh + Freemarker doesn't work

2010-03-17 Thread Lukasz Lenart
2010/3/17 jonathan doklovic : > Are the artifacts in a snapshot repo somewhere, or do i have to manually > install them into local? Not yet, I'm working on that ;-) Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl ---

Re: Struts2 + Sitemesh + Freemarker doesn't work

2010-03-17 Thread jonathan doklovic
Thanks, Are the artifacts in a snapshot repo somewhere, or do i have to manually install them into local? - J Lukasz Lenart wrote: 2010/3/16 jonathan doklovic : I was able to resolve the issue simply by using the snapshot jar listed on this blog post: http://www.stonescape.net/roller/xti

Re: Struts2 + Sitemesh + Freemarker doesn't work

2010-03-16 Thread Lukasz Lenart
2010/3/16 jonathan doklovic : > I was able to resolve the issue simply by using the snapshot jar listed on > this blog post: http://www.stonescape.net/roller/xtian/date/20091021 > > My web.xml was correct, just needed the updated sitemesh plugin. Here you have the whole build http://hudson.zones.a

Re: Struts2 + Sitemesh + Freemarker doesn't work

2010-03-16 Thread jonathan doklovic
I was able to resolve the issue simply by using the snapshot jar listed on this blog post: http://www.stonescape.net/roller/xtian/date/20091021 My web.xml was correct, just needed the updated sitemesh plugin. jonathan doklovic wrote: It seems that the patch mentioned in WW-3296 would fix my pr

Re: Struts2 + Sitemesh + Freemarker doesn't work

2010-03-15 Thread jonathan doklovic
It seems that the patch mentioned in WW-3296 would fix my problem, however it lists: sitemesh-freemarker org.apache.struts2.sitemesh.FreemarkerDecoratorServlet default_encoding UTF-8 1 But that class doesn't exist in the 2.1.8.1 r

Re: Struts2 + Sitemesh + Freemarker doesn't work

2010-03-15 Thread Wes Wannemacher
I am not decorating JSP with freemarker decorators, I am decorating JSP with JSP, but I use the following filter - sitemesh com.opensymphony.sitemesh.webapp.SiteMeshFilter The filter you are using might be buggy... I don't know if it has seen any attention in a while. I

Re: Struts2 + Sitemesh + Freemarker doesn't work

2010-03-15 Thread jonathan doklovic
All of the code is listed in the stackoverflow question. I'm using: Struts 2.1.8.1 Struts-Sitemesh Plugin 2.1.8.1 Sitemesh 2.4.2 Freemarker 2.3.15 Currently, I just have a single index.action that returns index.jsp which is decorated with a single main.ftl file. The jsp just has the simplest

Re: Struts2 + Sitemesh + Freemarker doesn't work

2010-03-15 Thread Wes Wannemacher
We'll probably need a little more info. In particular, I'd like to know is which versions of struts, sitemesh and freemarker you are using. Also, how do you have the various filters configured in your struts.xml. Also, are you decorating freemarker results with freemarker decorators? -Wes On Mon,

RE: Struts2, SiteMesh and Struts Menu

2008-04-18 Thread Matthew Seaborn
al Message- From: Al Sutton [mailto:[EMAIL PROTECTED] Sent: 10 April 2008 16:42 To: Struts Users Mailing List Subject: Re: Struts2, SiteMesh and Struts Menu I'm using the combination you mention without any problems. Check the order you're using the servlet filters in, mine is

Re: Struts2, SiteMesh and Struts Menu

2008-04-10 Thread Al Sutton
I'm using the combination you mention without any problems. Check the order you're using the servlet filters in, mine is; struts-cleanup org.apache.struts2.dispatcher.ActionContextCleanUp sitemesh com.opensymphony.module.sitemesh.filter.PageFilter struts org.apache.struts2.dispatcher.FilterDi

Re: Struts2 sitemesh problem finding xwork2

2007-09-18 Thread Ed Knutson
I am having a similar problem with WebSphere 6.0 using the j4 distro (I had to retrotranslate the Sitemesh plugin). In my case, the NoClassDefFoundError was for org.apache.struts2.sitemesh.TemplatePageFilter, which per the docs is to be used in place of com.opensymphony.module.sitemesh.filter.P

Re: struts2-sitemesh

2006-09-11 Thread Ted Husted
And see also * http://cwiki.apache.org/WW/sitemesh.html -T. On 9/11/06, Don Brown <[EMAIL PROTECTED]> wrote: Take a look at how the showcase example application uses sitemesh. If you use Struts tags in the decorators you have to ensure the sitemesh and struts filters are defined in a particul

Re: struts2-sitemesh

2006-09-11 Thread Don Brown
Take a look at how the showcase example application uses sitemesh. If you use Struts tags in the decorators you have to ensure the sitemesh and struts filters are defined in a particular order, IIRC. Don On 9/11/06, sharad bhushan <[EMAIL PROTECTED]> wrote: hi all, i am having problems when u