On 16-04-2010 at 16:27, Pascal wrote:
> I am trying to implement a call stack with stripes so that I can return
> the user to the page he came from, e.g. after processing a POST.
[...]
> Now, where I'm stuck atm:
> 
> I am storing the pages in a java.util.Stack that is stored in the
> FlashScope. The problem here is that when I'm forwarding to a JSP the
> FlashScope is lost (I'm using the Preaction Pattern).

If you need a stack, i.e. if you also want to be able to create breadcrumbs,
you'll need to store it in the session. The flash scope is only designed for
giving values to a designated bean after a redirect -- it expires too quickly
for what you're trying to do I think.


Oscar

-- 
   ,-_
  /() ) Oscar Westra van Holthe - Kind      http://www.xs4all.nl/~kindop/
 (__ (
=/  ()  Even if you win the rat race, you are still a rat...

------------------------------------------------------------------------------
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