cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [DAISY] Updated: Advanced Control Flow - Flowscript
Date Fri, 10 Mar 2006 14:16:13 GMT
A document has been updated:

Document ID: 518
Branch: main
Language: default
Name: Advanced Control Flow - Flowscript (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 3/10/06 2:15:56 PM
Updated by: Bruno Dumon

A new version has been created, state: publish

This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 24624 bytes (previous version: 24124 bytes)
Content diff:
(181 equal lines skipped)
    <p><em>Function</em> <tt>redirectTo([String] uri, [boolean] isGlobal)</tt></p>
    <p>Send a client-side redirect to the browser. The <tt>uri</tt> argument
is the
--- URI to which the browser should be redirected. If the <tt>isGlobal</tt>
--- argument is <tt>true</tt>, the redirect will be global, i.e. it returns all
--- way to the browser, even from within internal requests.</p>
+++ URI to which the browser should be redirected.</p>
+++ <p>The <tt>isGlobal</tt> argument, if <tt>true</tt>, causes
an HTTP redirect to
+++ be sent to the client browser in all cases. When <tt>isGlobal</tt> is
+++ <tt>false</tt> and the request is an internal one (using "cocoon:"), the
+++ internal request will be redirected. For example, if you have a pipeline called
+++ from an aggregation:</p>
+++ <pre><tt>&lt;map:aggregate&gt;</tt>
+++ <tt>  &lt;map:part src="cocoon:/callflow"/&gt;</tt>
+++ <tt>&lt;/map:aggregate&gt;
+++ </tt></pre>
+++ <p>and in some flow function:</p>
+++ <pre><tt>cocoon.redirectT</tt>o("",<tt> false);</tt></pre>
+++ <p>then the map:aggregate will try to read the content for its part from Google.
+++ </p>
    <h3 id="createWebContinuation">createWebContinuation</h3>
    <p><em>Function</em> <tt>[WebContinuation] createWebContinuation()</tt></p>
(638 equal lines skipped)

no changes

no changes

Custom Fields
no changes

no changes

View raw message