On Friday, Dec 13, 2002, at 21:46 US/Pacific, Christopher Oliver wrote:
Ah, good point, I misunderstood Ugo's original message. Sorry for the confusion, Chris is definitely right here!Ugo Cei wrote:I've tried to implement this use case in a flowscript like the following:In this case to go back to the beginning you don't need a continuation. You can just call the function again.
function foobar() {
// Note the use of the "new style" function names
sendPageAndWait("showform", {});
// Collect request parameters here
sendPageAndWait("askforconfirmation", { /* ... field values ... */ });
sendPage("thankyou", {});
}
In the initial form and the confirmation page, I use forms with an action of "kont(" + <jpath:continuation/> + ")".
Anyway, that's not a big issue. The big issue is that it does not seem possible to use a continuation to go back to the first form. My understanding is that the first continuation is created, so to say, *after* the first "sendPageAndWait", so there's no state saved before the first form is shown.
Ovidiu
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]