A document has been updated:
http://cocoon.zones.apache.org/daisy/legacydocs/518.html
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
Parts
=====
Content
-------
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
the
--- 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><map:aggregate></tt>
+++ <tt> <map:part src="cocoon:/callflow"/></tt>
+++ <tt></map:aggregate>
+++ </tt></pre>
+++
+++ <p>and in some flow function:</p>
+++
+++ <pre><tt>cocoon.redirectT</tt>o("http://www.google.com",<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)
Fields
======
no changes
Links
=====
no changes
Custom Fields
=============
no changes
Collections
===========
no changes