Re: Accessing an Action member variables after a "redirect-action"

"Greg Pelly" <[email protected]>
Newsgroups gmane.comp.java.open-symphony.webwork
Message-ID <[email protected]>
Thanks for the link Philip.

In this case I was able to get what I needed by using the "chain"
interceptor -- when ProcessCreditCardAction is done I set my result
type to "chain" and repoint the user to a different Action. For anyone
who Googles this, it seems to be working well so far.

Thanks,
Greg


On 12/2/06, Konstantin Priblouda <[email protected]> wrote:
>
> --- Greg Pelly <[email protected]> wrote:
>
> > If the action fails, I'd like to repopulate the
> > user's form with their
> > CC information so they can correct only the fields
> > that are invalid.
> > However, since I am redirecting, it looks like the
> > original action
> > (ProcessCreditCardAction) is not on the ValueStack,
> > thus I don't have
> > access to the action's fields.
>
> If the action fails, you should use different result
> which does not use redirect ;)
>
>
>
> ----[ Konstantin Pribluda http://www.pribluda.de ]----------------
> Still using XDoclet 1.x?  XDoclet 2 is released and of production quality.
> check it out: http://xdoclet.codehaus.org
>
>
>
> ____________________________________________________________________________________
> Do you Yahoo!?
> Everyone is raving about the all-new Yahoo! Mail beta.
> http://new.mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.