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 Sun, 04 Apr 2004 12:05:47 GMT
On Sat, Apr 03, 2004 at 01:58:51PM -0800, Christopher Oliver wrote:
> These ContinuationsManager API should _not_ be used in a flowscript. Use 
> the sitemap to invoke your continuation, please.
> 
> Is it possible to solve your problem by using a helper function to send 
> the page:
> 
> function sendPageAndWait(uri, biz, ttl) {
>  cocoon.response.setHeader( "Expires", "-1" );
>  cocoon.response.setHeader( "Cache-Control", "no-cache" );
>  cocoon.response.setHeader( "Pragma", "no-cache" );
>  return cocoon.sendPageAndWait(uri, biz, ttl);
> }
This would not work as form.showForm() woudn't use this function ... 

Intercepted flow is nicer idea though. Why is it still considered alpha?

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


Mime
View raw message