Re: Validate method not working in Action after using Interceptor

2011-06-08 Thread Nikul Suthar
Thanks guys for helping me out. All I was missing was to add the defaultInterceptor in the interceptor stack. It works now as expected. Thanks, Nikul 2011/6/7 Jeff Black > Hey Nikul. > > Double-check your interceptor stack. It is only composed of your session > interceptor. > > Jb > > Nikul S

Re: Custom TextProvider -- fall-back not working?

2011-06-08 Thread struts . rgm
Some more minor points on this issue, relating to the document at: http://struts.apache.org/2.2.3/xwork-core/apidocs/com/opensymphony/xwork2/TextProvider.html * "Implementing classes can delegate TextProviderSupport" -- clarifying the verb "delegate" or providing an example would be really useful

Custom TextProvider -- fall-back not working?

2011-06-08 Thread struts . rgm
This is a question that has come up before, but I've not seen it answered fully (I searched the list first!). Here's what I've got so far. Goals: Implement a custom resource provider that gets searched BEFORE the action-level, interface-level, or package-level ".properties" files, and gets its

Re: Adding a JNDI lookup yields unexpected Struts errors (Spring injection)

2011-06-08 Thread Miguel
To ease inspection of the problem, I created a unit test in the JIRA issue (https://issues.apache.org/jira/browse/WW-3647 ): run JNDIProblemTestCase in https://issues.apache.org/jira/secure/attachment/12481828/redirectActionErrorWithJunitTest.zip On Wed, 2011-06-08 at 16:08 +0100, Miguel wrote

Re: Adding a JNDI lookup yields unexpected Struts errors (Spring injection)

2011-06-08 Thread Miguel
Hey Lukasz, On Wed, 2011-06-08 at 15:40 +0200, Lukasz Lenart wrote: > and the result > > Hello test, today is 2011/06/08 > ***zzz*** > To display the problem you have to write "issue" in the name, not "test". Take a look at the HelloWorldAction - the redirectAction is with login, whose result

Re: Adding a JNDI lookup yields unexpected Struts errors (Spring injection)

2011-06-08 Thread Lukasz Lenart
Works like charm :-) I've based on the attached project. Modified a bit HelloWorld,jsp to display wtf: Hello , today is ** and the result Hello test, today is 2011/06/08 ***zzz*** It's something with Eclipse, try to launch from command line, remove all the dependencies from the loc

Re: Adding a JNDI lookup yields unexpected Struts errors (Spring injection)

2011-06-08 Thread Miguel
Really? That's odd. could you please try the test project at : https://issues.apache.org/jira/browse/WW-3647 Thanks for the help! Enviado a partir do meu HTC - Reply message - De: "Lukasz Lenart" Data: qua, Jun 8, 2011 13:42 Assunto: Adding a JNDI lookup yields unexpected Struts error

Re: Adding a JNDI lookup yields unexpected Struts errors (Spring injection)

2011-06-08 Thread Lukasz Lenart
It works for me ... Hello Lukasz, today is 2011/06/08 Regards -- Ɓukasz + 48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ 2011/6/8 Miguel : > Hi, > > I have created a test maven project to demonstrate the issue, based on > struts archetype. >

struts-rest-plugin 2.2.3 result from POST

2011-06-08 Thread kva
Hi, the struts-rest-plugin 2.2.1 allowed for returning results from POST requests in case the status code was anything other than 200 (like CREATED or 201). It appears that 2.2.3 no longer supports this behavior. Method selectTarget() in RestActionInvocation only allows to return results from GET

Re: Validate method not working in Action after using Interceptor

2011-06-08 Thread Jeff Black
Hey Nikul. Double-check your interceptor stack. It is only composed of your session interceptor. Jb Nikul Suthar wrote: >Hi There, > >I'm pretty new to using Struts 2 for developing a web application. So I >would be very thankful if someone can clear out this roadblock for me. > >I'm trying