cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <o...@wlkp.org>
Subject Re: Call continuations from flow instead of sitemap
Date Sat, 03 Apr 2004 20:48:59 GMT
On Thu, Apr 01, 2004 at 02:39:05PM -0500, Vadim Gritsenko wrote:
> 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);
 You have to do c(); Otherwise you get some errors about uninitialized
FOM_Request. This also does not work if you have page local variables. I have
filed a bugzilla report at
http://issues.apache.org/bugzilla/show_bug.cgi?id=28179

	lg
-- 
            __
         | /  \ |        Leszek Gawron            //  \\
        \_\\  //_/       ouzo@wlkp.org           _\\()//_
         .'/()\'.     Phone: +48(501)720812     / //  \\ \
          \\  //  recursive: adj; see recursive  | \__/ |


Mime
View raw message