You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by mraible <ma...@raibledesigns.com> on 2007/05/03 10:00:25 UTC

Flash scope in Struts 2?

Does Struts 2 have support for a flash scope - where messages can be easily
stuffed into this scope so they live through a redirect?

Thanks,

Matt
-- 
View this message in context: http://www.nabble.com/Flash-scope-in-Struts-2--tf3685114.html#a10300567
Sent from the Struts - User mailing list archive at Nabble.com.


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


Re: Flash scope in Struts 2?

Posted by Ian Roughley <ia...@fdar.com>.
There is an interceptor and result in webwork that can be used with 
about 2 mins for package corrections.

/Ian

mraible wrote:
>
> mraible wrote:
>   
>> Does Struts 2 have support for a flash scope - where messages can be
>> easily stuffed into this scope so they live through a redirect?
>>
>> Thanks,
>>
>> Matt
>>
>>     
>
> I'll assume the answer is "no".
>
>   

Re: Flash scope in Struts 2?

Posted by Musachy Barroso <mu...@gmail.com>.
Something different but related, the scoped model driven interceptor:

http://struts.apache.org/2.x/docs/scoped-model-driven-interceptor.html

musachy

On 6/6/07, Dave Newton <ne...@yahoo.com> wrote:
>
> --- mraible <ma...@raibledesigns.com> wrote:
> > mraible wrote:
> >> Does Struts 2 have support for a flash scope -
> >> where messages can be easily stuffed into this
> scope
> >> so they live through a redirect?
> > I'll assume the answer is "no".
>
> Why?
>
> In addition to a couple of threads within the last
> week see also:
>
> http://struts.apache.org/2.x/docs/message-store-interceptor.html
>
> (I think that's the one?)
>
> d.
>
>
>
>
>       ___________________________________________________________________________________
> You snooze, you lose. Get messages ASAP with AutoCheck
> in the all-new Yahoo! Mail Beta.
> http://advision.webevents.yahoo.com/mailbeta/newmail_html.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


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

Re: Flash scope in Struts 2?

Posted by Dave Newton <ne...@yahoo.com>.
--- mraible <ma...@raibledesigns.com> wrote:
> mraible wrote:
>> Does Struts 2 have support for a flash scope -
>> where messages can be easily stuffed into this
scope
>> so they live through a redirect?
> I'll assume the answer is "no".

Why?

In addition to a couple of threads within the last
week see also:

http://struts.apache.org/2.x/docs/message-store-interceptor.html

(I think that's the one?)

d.



      ___________________________________________________________________________________
You snooze, you lose. Get messages ASAP with AutoCheck
in the all-new Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_html.html

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


Re: Flash scope in Struts 2?

Posted by mraible <ma...@raibledesigns.com>.


mraible wrote:
> 
> Does Struts 2 have support for a flash scope - where messages can be
> easily stuffed into this scope so they live through a redirect?
> 
> Thanks,
> 
> Matt
> 

I'll assume the answer is "no".

-- 
View this message in context: http://www.nabble.com/Flash-scope-in-Struts-2--tf3685114.html#a10993413
Sent from the Struts - User mailing list archive at Nabble.com.


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


Re: Flash scope in Struts 2?

Posted by Antonio Petrelli <an...@gmail.com>.
2007/5/3, mraible <ma...@raibledesigns.com>:
>
> Does Struts 2 have support for a flash scope - where messages can be easily
> stuffed into this scope so they live through a redirect?

I suppose that Michael (Jouravlev) did something called "rollover"
scope, but maybe it is under Struts 1.3

BTW, Matt, why not considering Scopes? (In this case the "flash" scope
is called "click"):

http://scopes.sf.net/

Antonio

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