Re: Scope of action messages?

2008-04-01 Thread Chris Pratt
actionmessages, actionerrors and fielderrors are all request scope, so
they'll be gone by the time the redirect comes back around.  You might
want to look into the scope interceptor, it can help bridge the gap.
  (*Chris*)

On Tue, Apr 1, 2008 at 10:50 AM, Allen, Daniel <[EMAIL PROTECTED]> wrote:
> Hi, all.
>
>  I'm trying to display a message to the user to confirm that a new user
>  was created, basic par-for-the-course concept. However, I'm finding that
>  my  tag doesn't render to anything. The first thing I
>  thought of was that my result for the user creation is an
>  action-redirect, so by the time we get to the JSP that shows action
>  messages, another whole action has executed. Do action messages have a
>  limited scope, i.e. are they being lost because we started a new action?
>
>  Thanks,
>  Dan Allen
>
>  --
>  This message may contain confidential, proprietary, or legally privileged 
> information. No confidentiality or privilege is waived by any transmission to 
> an unintended recipient. If you are not an intended recipient, please notify 
> the sender and delete this message immediately. Any views expressed in this 
> message are those of the sender, not those of any entity within the KBC 
> Financial Products group of companies (together referred to as "KBC FP").
>
>  This message does not create any obligation, contractual or otherwise, on 
> the part of KBC FP. It is not an offer (or solicitation of an offer) of, or a 
> recommendation to buy or sell, any financial product. Any prices or other 
> values included in this message are indicative only, and do not necessarily 
> represent current market prices, prices at which KBC FP would enter into a 
> transaction, or prices at which similar transactions may be carried on KBC 
> FP's own books. The information contained in this message is provided "as 
> is", without representations or warranties, express or implied, of any kind. 
> Past performance is not indicative of future returns.
>
>
>  -
>  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]



RE: Scope of action messages?

2008-04-01 Thread Allen, Daniel
Hmmm...

How much interfering in the internals do you suppose I'd have to do to
make action errors & messages hang around until the corresponding
 tag is rendered?



-Original Message-
From: Chris Pratt [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 01, 2008 1:58 PM
To: Struts Users Mailing List
Subject: Re: Scope of action messages?

actionmessages, actionerrors and fielderrors are all request scope, so
they'll be gone by the time the redirect comes back around.  You might
want to look into the scope interceptor, it can help bridge the gap.
  (*Chris*)

-- 
This message may contain confidential, proprietary, or legally privileged 
information. No confidentiality or privilege is waived by any transmission to 
an unintended recipient. If you are not an intended recipient, please notify 
the sender and delete this message immediately. Any views expressed in this 
message are those of the sender, not those of any entity within the KBC 
Financial Products group of companies (together referred to as "KBC FP"). 

This message does not create any obligation, contractual or otherwise, on the 
part of KBC FP. It is not an offer (or solicitation of an offer) of, or a 
recommendation to buy or sell, any financial product. Any prices or other 
values included in this message are indicative only, and do not necessarily 
represent current market prices, prices at which KBC FP would enter into a 
transaction, or prices at which similar transactions may be carried on KBC FP's 
own books. The information contained in this message is provided "as is", 
without representations or warranties, express or implied, of any kind. Past 
performance is not indicative of future returns.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Scope of action messages?

2008-04-01 Thread Chris Pratt
None if you use the store interceptor (sorry, I had the interceptor
name wrong on the last mail).
  (*Chris*)

On Tue, Apr 1, 2008 at 11:22 AM, Allen, Daniel <[EMAIL PROTECTED]> wrote:
> Hmmm...
>
>  How much interfering in the internals do you suppose I'd have to do to
>  make action errors & messages hang around until the corresponding
>   tag is rendered?
>
>
>
>
>  -Original Message-
>  From: Chris Pratt [mailto:[EMAIL PROTECTED]
>  Sent: Tuesday, April 01, 2008 1:58 PM
>  To: Struts Users Mailing List
>  Subject: Re: Scope of action messages?
>
>  actionmessages, actionerrors and fielderrors are all request scope, so
>  they'll be gone by the time the redirect comes back around.  You might
>  want to look into the scope interceptor, it can help bridge the gap.
>   (*Chris*)
>
>  --
>
>
> This message may contain confidential, proprietary, or legally privileged 
> information. No confidentiality or privilege is waived by any transmission to 
> an unintended recipient. If you are not an intended recipient, please notify 
> the sender and delete this message immediately. Any views expressed in this 
> message are those of the sender, not those of any entity within the KBC 
> Financial Products group of companies (together referred to as "KBC FP").
>
>  This message does not create any obligation, contractual or otherwise, on 
> the part of KBC FP. It is not an offer (or solicitation of an offer) of, or a 
> recommendation to buy or sell, any financial product. Any prices or other 
> values included in this message are indicative only, and do not necessarily 
> represent current market prices, prices at which KBC FP would enter into a 
> transaction, or prices at which similar transactions may be carried on KBC 
> FP's own books. The information contained in this message is provided "as 
> is", without representations or warranties, express or implied, of any kind. 
> Past performance is not indicative of future returns.
>
>
>  -
>  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]



RE: Scope of action messages?

2008-04-01 Thread Allen, Daniel
Oh. Yeah, that one looks a lot more immediately applicable. :)

Thanks!
~DVA 

-Original Message-
From: Chris Pratt [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 01, 2008 2:45 PM
To: Struts Users Mailing List
Subject: Re: Scope of action messages?

None if you use the store interceptor (sorry, I had the interceptor
name wrong on the last mail).
  (*Chris*)

On Tue, Apr 1, 2008 at 11:22 AM, Allen, Daniel <[EMAIL PROTECTED]>
wrote:
> Hmmm...
>
>  How much interfering in the internals do you suppose I'd have to do
to
>  make action errors & messages hang around until the corresponding
>   tag is rendered?
>
>
>
>
>  -Original Message-
>  From: Chris Pratt [mailto:[EMAIL PROTECTED]
>  Sent: Tuesday, April 01, 2008 1:58 PM
>  To: Struts Users Mailing List
>  Subject: Re: Scope of action messages?
>
>  actionmessages, actionerrors and fielderrors are all request scope,
so
>  they'll be gone by the time the redirect comes back around.  You
might
>  want to look into the scope interceptor, it can help bridge the gap.
>   (*Chris*)
>
>  --
>
>
> This message may contain confidential, proprietary, or legally
privileged information. No confidentiality or privilege is waived by any
transmission to an unintended recipient. If you are not an intended
recipient, please notify the sender and delete this message immediately.
Any views expressed in this message are those of the sender, not those
of any entity within the KBC Financial Products group of companies
(together referred to as "KBC FP").
>
>  This message does not create any obligation, contractual or
otherwise, on the part of KBC FP. It is not an offer (or solicitation of
an offer) of, or a recommendation to buy or sell, any financial product.
Any prices or other values included in this message are indicative only,
and do not necessarily represent current market prices, prices at which
KBC FP would enter into a transaction, or prices at which similar
transactions may be carried on KBC FP's own books. The information
contained in this message is provided "as is", without representations
or warranties, express or implied, of any kind. Past performance is not
indicative of future returns.
>
>
>  -
>  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]


-- 
This message may contain confidential, proprietary, or legally privileged 
information. No confidentiality or privilege is waived by any transmission to 
an unintended recipient. If you are not an intended recipient, please notify 
the sender and delete this message immediately. Any views expressed in this 
message are those of the sender, not those of any entity within the KBC 
Financial Products group of companies (together referred to as "KBC FP"). 

This message does not create any obligation, contractual or otherwise, on the 
part of KBC FP. It is not an offer (or solicitation of an offer) of, or a 
recommendation to buy or sell, any financial product. Any prices or other 
values included in this message are indicative only, and do not necessarily 
represent current market prices, prices at which KBC FP would enter into a 
transaction, or prices at which similar transactions may be carried on KBC FP's 
own books. The information contained in this message is provided "as is", 
without representations or warranties, express or implied, of any kind. Past 
performance is not indicative of future returns.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]