Only if I need just one level. If I want to go back two times this solution won't work, I think.
Rick Grashel schrieb: > Pascal, > > Is this a situation where you could just pull the souce page off the > context? For example: context.getSourcePageResolution(). > > -- Rick > > On Apr 16, 2010 10:17 AM, "Pascal" <pascal.gr...@arcor.de> wrote: > > Hi all, > > 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. > > For example, I have a page "Formpage1" which is accessible from some > other pages and contains a form with some input fields. Now, the user is > on some other page "Otherpage123" and clicks a link that takes him to > "Formpage1". What I want to do is that after the user clicks the submit > button on "Formpage1" I want to handle the POST request as usual and > then redirect him back to where he came from ("Otherpage123", in this case). > > 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 I stored the Stack in the Session directly, I would need to copy most > of the FlashScope functionality, especially adding a parameter that > identifies each window (when the user has several tabs open with the > application) and removing stale Stacks after some timeout, which I'd > like to avoid. > > Maybe someone has a better idea how to implement this or can help me > with these problems? Thanks! > > > ------------------------------------------------------------------------------ > 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 > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > 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 ------------------------------------------------------------------------------ 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