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
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
le contenu fourni.
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, all the values
We'll need more info. Looks like a validation error so far.
Dave
On Thu, Feb 3, 2011 at 1:31 AM, Rubens Gomes rubens.go...@appia.com 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
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
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 rubens.go...@appia.com
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 ParametersInterceptor.
The form does submit the email
parameter to my action. And the logs show that parameter on the
7 matches
Mail list logo