RE: S2 Action Setter Not Called

2011-02-04 Thread Martin Gainty
> Date: Fri, 4 Feb 2011 18:27:53 +0900 > From: li.wei.linf...@gmail.com > To: user@struts.apache.org > CC: rubens.go...@appia.com > Subject: Re: S2 Action Setter Not Called > > the problem is that you pushed a HashMap on the ValueStack's root. > > if you do that

Re: S2 Action Setter Not Called

2011-02-04 Thread li wei
the problem is that you pushed a HashMap on the ValueStack's root. if you do that, all the values will be populated to the HashMap, not your action class you can try this code to fix it. ActionContext.getContext().put("browser", userSession.getBrowser()); (2011/02/04 17:12), Rubens Gomes

RE: S2 Action Setter Not Called

2011-02-04 Thread Rubens Gomes
Okay. I found what is causing the setters not to be called. I have an interceptor called ValueStackInterceptor (which is called prior to ParametersInterceptors) that is placing a String variable "browser" on the stack (please, see code below). If I comment out the line that places this varia

Re: S2 Action Setter Not Called

2011-02-03 Thread Dave Newton
I can't make heads or tails of that. How about you get a "sanity check" version going first then revisit all that? Sounds like you changed several fundamental behaviors all at once without a safety net. Can you revert? Dave On Thu, Feb 3, 2011 at 7:31 PM, Rubens Gomes wrote: > I am still having

RE: S2 Action Setter Not Called

2011-02-03 Thread Rubens Gomes
I am still having issues with the action setters not being called. I have already spent several hours on this problem. Here is additional information: Struts 2 + Struts 2 struts2-convention-plugin version: 2.2.1.1 Absolutely *none* of my actions setters are called. This problem is happening

Re: S2 Action Setter Not Called

2011-02-03 Thread Dave Newton
We'll need more info. Looks like a validation error so far. Dave On Thu, Feb 3, 2011 at 1:31 AM, Rubens Gomes wrote: > Hello, > > I am running Struts 2 (version 2.2.1.1) and the struts2-convention-plugin to > annotate all Actions. > > My action parameter setters are not being called by the > P