cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Francis Vermeulen" <>
Subject RE: Flowscript problem?
Date Thu, 25 Sep 2003 12:38:54 GMT

thanks for the reply. But as I understood it, for a single script there may
be multiple continuations at any point in time, all corresponding to
different page submissions so that if you use the browser back button,
submitting that page can use that particular continuation to restore the
intepreter state as it was when that page was being submitted the first
time. That's even the example given in the documentation? So I don't
understand your point, I'm sorry. Can you clarify further on this? Thanks!


-----Original Message-----
From: Reinhard Poetz []
Sent: Thursday, September 25, 2003 12:43 PM
Subject: RE: Flowscript problem?

From: Francis Vermeulen

> Hi,
> I'm trying to use the flowscript capabilities for my
> application but it appears not to be working. The problem I'm
> experiencing is that when an earlier Continuation is resumed,
> it appears that the local variables do not have the value
> corresponding to that continuation. Here is the script I'm
> testing:

<snip text="yourCode"/>

> Looking at the local variable "test", if I use the browser
> back button to the very first page and submit it again, I
> epxect it to have the value '1', but it actually has the
> value '2', corresponding to the continuation after the
> "reason-input" page. If I set a breakpoint in the code and
> inspect the Continuation object, it has changed after the
> second continuation.
> So it looks like this is a bug, but I'm not really sure.
> Maybe anybody has the same experience and knows what I'm doing wrong?

This is the intended behaviour because it would cause high memory
consumption if you connect the complete state of your application with a
continuation --> acontinuation "only" represents a certain point at your
flowscript where the script can be continued.


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message