cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bertrand Delacretaz <bdelacre...@apache.org>
Subject Re: Adding cocoon.suicide() to the FOM API.
Date Fri, 11 Mar 2005 14:36:54 GMT
Le 11 mars 05, à 15:18, Sylvain Wallez a écrit :
> ...This is currently possible using "FOM_Cocoon.suicide()" which is 
> what is used internally by cocoon.sendPageAndWait (see fom_system.js), 
> and I would like to make this more visible by being available as 
> "cocoon.suicide()".

It is not cocoon that is killed, it is the current flowscript, so why 
not

  cocoon.killCurrentFlow()

instead, to avoid confusion?

"suicide" is marginally funny but not very explicit about what happens 
next ;-)

-Bertrand

Mime
View raw message