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
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:
On Thu, Mar 18, 2010 at 12:02 PM, jonathan doklovic
list-rea...@sysbliss.com 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 -
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 list-rea...@sysbliss.com:
I was able to resolve the issue simply by using the snapshot jar listed on
this blog post:
2010/3/17 jonathan doklovic list-rea...@sysbliss.com:
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
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
2010/3/16 jonathan doklovic list-rea...@sysbliss.com:
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
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}, ${title} and ${head}
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
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
I am not decorating JSP with freemarker decorators, I am decorating
JSP with JSP, but I use the following filter -
filter
filter-namesitemesh/filter-name
filter-classcom.opensymphony.sitemesh.webapp.SiteMeshFilter/filter-class
/filter
The filter you are using might be
It seems that the patch mentioned in WW-3296 would fix my problem,
however it lists:
servlet
servlet-namesitemesh-freemarker/servlet-name
servlet-classorg.apache.struts2.sitemesh.FreemarkerDecoratorServlet/servlet-class
init-param
12 matches
Mail list logo