struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Collings <jlistn...@gmail.com>
Subject Re: convention plug-in question
Date Thu, 14 May 2009 17:53:11 GMT
Currently I have no unusual interceptors or changes thereto. I've been
holding off trying to learn em just yet.
First things, first. I'm using the default stack.


Jim C.

On Thu, May 14, 2009 at 1:34 PM, Musachy Barroso <musachy@gmail.com> wrote:

> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message