Re: Struts 2 Testing Actions

2013-11-28 Thread Damian Blazejewski
Brilliant, I suppose that " you can have struts.xml in test/resources with struts.objectFactory = struts" will solve my issue. Thank you very much. Pozdrawiam/Best regards, Damian Błażejewski dblazejewski.com 2013/11/28 Lukasz Lenart > Ok, I get it what do you want ;-) >

Re: Struts 2 Testing Actions

2013-11-27 Thread Damian Blazejewski
extending StrutsSpringJUnit4TestCase I have to provide Spring context. No I am thinking about using this: https://bitbucket.org/kubek2k/springockito/wiki/Home It should solve my problem. Pozdrawiam/Best regards, Damian Błażejewski dblazejewski.com 2013/11/28 Lukasz Lenart > Yes, use mocks -> Mocki

Re: Struts 2 Testing Actions

2013-11-27 Thread Damian Blazejewski
do is mocking all Struts Action dependencies and then doing some tests. Is it possible to do it that way? Pozdrawiam/Best regards, Damian Błażejewski dblazejewski.com 2013/11/27 Lukasz Lenart > 2013/11/26 Damian Blazejewski : > > I have managed to sort it out. My project has two mav

Re: Will I get sideeffects with: OgnlRuntime.setSecurityManager(null);

2013-11-26 Thread Damian Blazejewski
What is the access modifier of method WelcomeUserAction.setUsername()? Pozdrawiam/Best regards, Damian Błażejewski dblazejewski.com 2013/11/26 Fredrik Andersson > Hello! > > (Hope this is the correct forum for this question) > > > > I get this error in my hello-world-stru

Re: Struts 2 Testing Actions

2013-11-26 Thread Damian Blazejewski
or your web app! " When I extend StrutsSpringJUnit4TestCase, I have to provide Spring dependencies as I said earlier. Is there any way to mock those Spring dependencies in my Struts action? Thank you in advance for any advice. Pozdrawiam/Best regards, Damian Błażejewski dblazejewski.com

Struts 2 Testing Actions

2013-11-24 Thread Damian Blazejewski
javax.servlet servlet-api 2.5 jar test javax.servlet.jsp jsp-api 2.2 jar test Pozdrawiam/Best regards, Damian Błażejewski

Re: provide Helloworld application in Struts2.0

2011-11-14 Thread Damian Krawcewicz
For starters, this line: either remove "struts-default" or change it to: extends="struts-default" Damo On 14 November 2011 16:53, Praveen Jain wrote: > Yes I made a Simple hello application in Servlet and it is running fine. > But my hello world application in struts is not running please fin

Re: Beginner question

2011-11-12 Thread Damian Krawcewicz
Hi, How about readonly="true" ??? http://struts.apache.org/2.1.8/docs/textfield.html HTH, Damo On 11 November 2011 22:16, Marco Schwarz wrote: > Hi, > > hidden tags and plain text solve my problem ... > > I find, when I disable components via jquery, client side I'm sure to > find the same pr

Conversion problem for bi-dimensional Lists and Arrays

2009-10-13 Thread Damian
n having nested generic types. I also tried using a bidimensional array like Currency[][] but again I cannot find a way to reffer to it with OGNL. I am open to any suggestions. To make a long story short, all I need is a sollution for a matrix-like object that can hold any type