Re: how do you test your action classes?

2011-10-14 Thread jaredtims
Can anyone confirm that the Struts2 Convention Plugin will not work with the Struts2 jUnit Plugin? I am attempting to unit test my actions, but I keep getting the following error: 2011-10-14 14:15:42,380 WARN org.springframework.mock.web.MockServletContext.getResourcePaths:212 - Couldn't get res

Re: unit testing with junit + spring + struts2, NullPointerException with HttpServletRequest

2011-10-14 Thread jaredtims
So will the Struts2 jUnit Plugin work with the Struts2 Convention Plugin? I keep getting errrors such as this: 2011-10-14 14:15:42,380 WARN org.springframework.mock.web.MockServletContext.getResourcePaths:212 - Couldn't get resource paths for class path resource [WEB-INF/content/] java.io.FileNo

Re: Struts2 extending theme

2011-10-14 Thread Maurizio Cucchiara
Where have you put your theme folder? Twitter     :http://www.twitter.com/m_cucchiara G+          :https://plus.google.com/107903711540963855921 Linkedin    :http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 14 October 2011 10:05, Amit Khanna wrote: > template/better/form.ftl

Struts2 extending theme

2011-10-14 Thread Amit Khanna
Following the struts2 extending theme tutorial[http://struts.apache.org/2.0.14/docs/extending-themes.html] I created a new theme "better" that extends the "simple" theme available with struts. I created theme.properties file in folder theme/better/ and also copied and modified radiomap.ftl theme.p