Re: Convention Plugin not being picked up.

2010-04-20 Thread jonathan doklovic
-2.0.dtd";> My actions are contained within the WAR file within the EAR. No JARs in place. There is nothing in the setup documentation about setting the package property? Chris -Original Message- From: jonathan doklovic [mailto:list-rea...@sysbliss.com] Sent: 20 April 2010

Code examples gone from wiki

2010-04-20 Thread jonathan doklovic
I've noticed that in the 2.1.8.1 wiki docs, all the code snippets are blank. They seem to be ok in the 2.1.6 docs. are the 2.1.8.1 docs using a different confluence code plugin or something? - Jonathan - To unsubscribe, e-mail:

Re: Convention Plugin not being picked up.

2010-04-20 Thread jonathan doklovic
ins http://struts.apache.org/dtds/struts-2.0.dtd";> My actions are contained within the WAR file within the EAR. No JARs in place. There is nothing in the setup documentation about setting the package property? Chris -Original Message----- From: jonathan doklovic [mailto:list-r

Re: STRUTS2 + REST + SPRING Problem

2010-04-20 Thread jonathan doklovic
Are you using the struts-spring plugin? If so, I found I had to include: struts.objectFactory.spring.autoWire = name struts.objectFactory.spring.autoWire.alwaysRespect = true to get beans autowired by name. autowiring using auto or type wasn't working in my app so I had to do it by name. - J

Re: Convention Plugin not being picked up.

2010-04-20 Thread jonathan doklovic
I would also look at your struts config for the following: struts.convention.default.parent.package - should be the name of your default package declared in the config struts.convention.action.includeJars - if your actions are in separate jars, you may need to add a pattern here so convention

Convention plugin doesn't exclude packages

2010-03-24 Thread jonathan doklovic
the exclude packages functionality wasn't actually implemented in the convention plugin. I've logged an issue and attached a patch that fixes it. https://issues.apache.org/jira/browse/WW-3418 Thanks, - Jonathan - To unsubscri

Struts OSGi doesn't support Spring outside of bundles

2010-03-24 Thread jonathan doklovic
Details are here: https://issues.apache.org/jira/browse/WW-3417 I've already attached a patch that corrects the issue. - Jonathan - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: us

Freemarker applyDecorator only works on JSP files

2010-03-19 Thread jonathan doklovic
Hi, I ran into an issue that others seem to have but I was able to debug a little and get more info on it. The issue is: https://issues.apache.org/jira/browse/WW-1744 Basically, if you try to use the JspTagLib and do: <#assign page=JspTaglibs["http://www.opensymphony.com/sitemesh/page";]> <@

Re: Struts2 + Sitemesh + Freemarker doesn't work

2010-03-19 Thread jonathan doklovic
7;t looking for result templates in the bundles and so it was failing. I logged an issue and attached a patch that fixes it. https://issues.apache.org/jira/browse/WW-3409 Thanks again, - Jonathan Wes Wannemacher wrote: On Thu, Mar 18, 2010 at 12:02 PM, jonathan doklovic wrote: I a

Re: Struts2 + Sitemesh + Freemarker doesn't work

2010-03-18 Thread jonathan doklovic
ony.xwork2.util.finder.ClassFinder.(Lcom/opensymphony/xwork2/util/finder/ClassLoaderInterface;Ljava/util/Collection;ZLjava/util/Set;Lcom/opensymphony/xwork2/util/finder/Test;)V I assume that's going to be in xwork 2.2? - Jonathan Lukasz Lenart wrote: 2010/3/16 jonathan doklovic : I was able to resolve t

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

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

Re: Struts2 + Sitemesh + Freemarker doesn't work

2010-03-15 Thread jonathan doklovic
he next release. -Wes On Mon, Mar 15, 2010 at 1:19 PM, jonathan doklovic wrote: 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 in

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

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}, ${title} and ${head} prin