cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Re: Call continuations from flow instead of sitemap
Date Thu, 01 Apr 2004 19:39:05 GMT
Leszek Gawron wrote:

>I have this snipped in one of my .js files :
>  
>
...

>function runContinuation( action ) {
>  
>

Provided that "action" contains continuation ID and not actual 
continuation object... you need to lookupWebContinuation from the 
ContinuationsManager component, this will give you WebContinuation 
object. Once you have it... Something like this should be able to invoke it:

    var wk = contManager.lookupWebContinuation(action);
    var c = wk.getContinuation();
    c(c);


Vadim


Mime
View raw message