beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daryl Olander <dolan...@gmail.com>
Subject Re: Resetting a pageflow instance
Date Fri, 13 Jan 2006 15:21:13 GMT
I believe the requirement is to actually create a new A (blowing away the
whole current stack)

On 1/13/06, Rich Feit <richfeit@gmail.com> wrote:
>
> I'm not sure I'm understanding this correctly.  Let's say we have a
> nesting stack A-B-C, where A is the "oldest" page flow and C is the most
> recent.  Do we want to get back to A, blowing away B and C?  If so, then
> the easiest thing to do would be to execute any action explicitly on the
> topmost page flow, e.g., path="/path/to/a/begin.do".
>
> If that's not it (I have a feeling I might be way off here :) ), let me
> know...
>
> Rich
>
> Daryl Olander wrote:
>
> >So my understanding of this is that there is a request for publically
> >exposing an API that would allow the current page flow stack to be blown
> >away so that the next request would generate new instances of the top
> most
> >page flow and all nesting would be lost.
> >
> >On 1/12/06, Carlin Rogers <carlin.rogers@gmail.com> wrote:
> >
> >
> >>Hey Rich,
> >>
> >>Is there a good mechanism for resetting a page flow instance when the
> page
> >>flow is down in a nested page flow? I.E. a way to get back to the begin
> >>action of the main page flow. Here's the scenario...
> >>
> >>In a portal there may be some state associated to a page flow that they
> >>would manage as well as what we have stuck in the session.  When they
> >>reset
> >>state, they'd like to end up back at the begin action of the page flow.
> >>This
> >>works for a non-nested page flow.
> >>
> >>However, for nested flows, I think that with the page flow instance
> >>keeping
> >>a reference to the "current" page flow, in this case the nested flow,
> and
> >>they try to reset state on the request, they get the begin page of the
> >>nested flow instead of the original page flow begin.
> >>
> >>Do we have something in our API to "reset" a page flow instance itself
> or
> >>even just blow away the instance that gets stored in the
> >>session?  Something
> >>to call so there's no stale state. If not, do you have a suggestion as
> to
> >>what might be implemented?
> >>
> >>Thanks,
> >>Carlin
> >>
> >>
> >>
> >>
> >
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message