Ben Gunter-2 wrote:
> 
> I think that suggestion is out of date. I did a bunch of work on flash
> scope
> a while back, and I always flashed to another ActionBean during testing. I
> think you'll be OK doing so. If not, please let us know.
> 
> -Ben
> 
I realized some time later why it said that.   It's not saying not to use
flash scope at all, rather just saying that flashing the actionBean itself
won't work because stripes always puts the current actionBean into 'request'
scope so you will then have duplicate variables called 'actionBean' - one in
'request' scope and one in 'flash' scope.     And I confirmed that indeed,
what you get when eg: populating stripes form tags etc. is the 'new' action
bean not the flashed one, so it's quite correct.   However you just have to
flash the action bean under some other name.

Thanks for the reply!

Simon
-- 
View this message in context: 
http://old.nabble.com/Using-Flash-Scope-with-Redirects-to-ActionBeans-tp27830192p27835046.html
Sent from the stripes-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to