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 lukaszlen...@apache.org Ok, I get it what do you want

Re: Struts 2 Testing Actions

2013-11-27 Thread Damian Blazejewski
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 lukaszlen...@apache.org 2013/11/26 Damian Blazejewski damian.blazejew...@gmail.com: I have managed to sort

Re: Struts 2 Testing Actions

2013-11-27 Thread Damian Blazejewski
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 lukaszlen...@apache.org Yes, use mocks

Re: Struts 2 Testing Actions

2013-11-26 Thread Damian Blazejewski
! 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 2013/11/26 Lukasz Lenart

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 fredan...@hotmail.com Hello! (Hope this is the correct forum for this question) I get this error in my hello-world-struts2

Struts 2 Testing Actions

2013-11-24 Thread Damian Blazejewski
typejar/type scopetest/scope /dependency Pozdrawiam/Best regards, Damian Błażejewski dblazejewski.com

Re: provide Helloworld application in Struts2.0

2011-11-14 Thread Damian Krawcewicz
For starters, this line: package name=Struts2 namespace= / struts-default either remove struts-default or change it to: extends=struts-default Damo On 14 November 2011 16:53, Praveen Jain jain_praveen_mail...@yahoo.comwrote: Yes I made a Simple hello application in Servlet and it is running

Re: s:textfield / 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 marco.schw...@cioppino.net wrote: Hi, hidden tags and plain text solve my problem ... I find, when I disable components via jquery, client side I'm sure

Conversion problem for bi-dimensional Lists and Arrays

2009-10-13 Thread Damian
-like object that can hold any type of object Thanks you in advance -- Damian - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org