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
re you decorating freemarker results with freemarker decorators? -Wes On Mon, Mar 15, 2010 at 12:05 PM, jonathan doklovic wrote: I've been working for a week now trying to get Struts2 + Sitemesh + Freemarker to work. I've followed many tutorials and read docs but I still can'

Re: Struts2 + Sitemesh + Freemarker doesn't work

2010-03-15 Thread jonathan doklovic
ers configured in your struts.xml. Also, are you decorating freemarker results with freemarker decorators? -Wes On Mon, Mar 15, 2010 at 12:05 PM, jonathan doklovic wrote: I've been working for a week now trying to get Struts2 + Sitemesh + Freemarker to work. I've follow

Re: Struts2 + Sitemesh + Freemarker doesn't work

2010-03-15 Thread Wes Wannemacher
rote: >> >> 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 decorati

Re: Struts2 + Sitemesh + Freemarker doesn't work

2010-03-15 Thread jonathan doklovic
.xml. Also, are you decorating freemarker results with freemarker decorators? -Wes On Mon, Mar 15, 2010 at 12:05 PM, jonathan doklovic wrote: I've been working for a week now trying to get Struts2 + Sitemesh + Freemarker to work. I've followed many tutorials and read docs but I s

Re: Struts2 + Sitemesh + Freemarker doesn't work

2010-03-15 Thread Wes Wannemacher
es On Mon, Mar 15, 2010 at 12:05 PM, jonathan doklovic wrote: > I've been working for a week now trying to get Struts2 + Sitemesh + > Freemarker to work. > I've followed many tutorials and read docs but I still can't get it to work. > > Basically the decorator runs

Struts2 + Sitemesh + Freemarker doesn't work

2010-03-15 Thread jonathan doklovic
I've been working for a week now trying to get Struts2 + Sitemesh + Freemarker to work. I've followed many tutorials and read docs but I still can't get it to work. Basically the decorator runs, but none of the variables get put into scope and so I get literal ${body}, ${ti

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
April 10, 2008 3:00 PMSubject: Struts2, SiteMesh and Struts MenuHa s anyone had any experience of using these three together? I have Struts2 and SiteMesh working together happily, but soon as I add Struts Menu I getthe error below.I believe it is due to SiteMesh and not Struts 2 but am not sure

Struts2, SiteMesh and Struts Menu

2008-04-10 Thread Matthew Seaborn
Has anyone had any experience of using these three together? I have Struts 2 and SiteMesh working together happily, but soon as I add Struts Menu I get the error below. I believe it is due to SiteMesh and not Struts 2 but am not sure on this. Has anyone seen this before? Thanks. javax.servl

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

Struts2 sitemesh probelm finding xwork2

2007-09-05 Thread fawix
Hello there i'm doing some testes with S2.. i already worked with struts 1 and webwork... i read the documentation and a lot of tutorial about but my problem presists... in my folder WEB-INF/lib i have both struts2-sitemesh-plugin-2.0.9.jar and sitemesh-2.3.jar and i started my project usin

Struts2, Sitemesh and Freemarker integration

2007-04-25 Thread Richard Wallace
s2-cleanup org.apache.struts2.dispatcher.ActionContextCleanUp struts2-cleanup /* sitemesh /* struts2 /* I think this is _almost_ working, but I'm getting an exception when I try and hit a decorated page. It looks as though the Struts2 Sitemesh

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

struts2-sitemesh

2006-09-11 Thread sharad bhushan
hi all, i am having problems when using sitemesh 2.2.1 and struts2.the problem is it does not alow me to use struts tag libraries.and gives an error java.lang.NullPointerException org.apache.struts2.components.URL.end(URL.java:213) org.apache.struts2.views.jsp.ComponentTagSupport.doEndTag(