struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Musachy Barroso <musa...@gmail.com>
Subject Re: convention plug-in question
Date Thu, 14 May 2009 17:34:41 GMT
Do you have a custom stack interceptor? If the fields are not
populated in the action, then the params interceptor is not getting
applied, it is hard to say without more details.

musachy

On Thu, May 14, 2009 at 1:30 PM, Jim Collings <jlistnews@gmail.com> wrote:
> I have an action with "execute" in the superclass (ActionSupport) being
> called by one activity and another method of the same Action called
> "doSomething" being called by ! notation in a form submit.
>
> I've noticed that when I annotate the "doSomething" method with:
>
> @Action(results = {@Result(name = "success", location = "somewhere-else",
> type = "chain")})
>
> What happens is that I start getting NPE's in the execute method because the
> properties of the Action have not been set.
>
> Is this a Bug?  Am I not annotating correctly? Anybody got ideas regarding
> this?
>
>
> Jim C.
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message