cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tobia <tobia.confo...@linux.it>
Subject Re: Misusing Flowscript & Continuations
Date Tue, 06 Mar 2007 17:32:03 GMT
Torsten Curdt wrote:
> That's a misuse of continuations. Why the steps?
> That's what the continuation will do for you.
> Think outside of the state machine
> 
>  showPasswordForm();
>  sendEmail();
>  // now the email will have the link to the continuation
>  showSentPage();
>  // execution will suspend here
>  showNewPasswordForm();
>  updateDatabase();
>  showPasswordUpdatedPage();

How can I put the continuation id in the email text, but have the
continuation resume several blocks after, where you put 'execution
will suspend here'?


Tobia

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message