cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <>
Subject Re: Adding cocoon.suicide() to the FOM API.
Date Fri, 11 Mar 2005 14:32:08 GMT
Sylvain Wallez wrote:
> Hi all,
> There are some flowscript use cases where we want to stop the current 
> flowscript without creating a continuation, as we don't want to the user 
> to go back to the script.
> An example is a "login" function where the caller function expects this 
> function to exit only if login is successful, but that has to handle 
> e.g. a registration process that includes a "cancel" button.
> This is currently possible using "FOM_Cocoon.suicide()" which is what is 

or by creating another top level continuation.

> used internally by cocoon.sendPageAndWait (see fom_system.js), and I 
> would like to make this more visible by being available as 
> "cocoon.suicide()".
> Any objection?



View raw message