From: Stephan Coboos
Tim Olson wrote:
starting with 2.1.3, a call to sendPage() or sendPageAndWait() is required in your script. i think it sucks but was unable toconvince
the dev list. in 2.1.2 and earlier you can just omit anysendPage call
and the sitemap continues where the flowscript left off.sitemap after
-----Original Message----- From: Stephan Coboos [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 06, 2004 7:34 AM To: [EMAIL PROTECTED] Subject: Return to the sitemap after floscript
Hello,
is it possible to return exactly to the position in the
Oh, no!!! Why? Is this the right way?executing a flowscript on which this script was called, to process the rest of the pipeline? Maybe without using sendPage oder sendPageAndWait?
<map:match pattern="foo"> <map:generate type="file" src="myFile.xml"/> // Go to flow here and do some logic... <map:call function="myFunc"/> // Come automatically back from flow and do this work... <map:serialize type="xml"/> </map:match>
Only if in the flowscript is sendPage or sendPageAndWait is
called, the pipeline switches. Is it possible?
Thank you.
Regards Stephan
Please see http://marc.theaimsgroup.com/?t=106864448500002&r=1&w=2
and
http://marc.theaimsgroup.com/?t=106849566300008&r=1&w=2
Thank you. But I think this was not a good decision. An action can redirect or return to the actual position. Why not a flowscript? If I want to integrate some "short" logic into a pipeline flow, this is not possible:
<map:pattern match="foo"> <map:generate type="file" src="myFile.xml"/> // For example: Manipulate the session here <map:call function="changeSession"/> <map:serialize type="xml"/> </map:pattern>
To do so, I have to create an action which is more complicated than a 5-line flowscript. Hmm.... In my opinion, this doesn't support fast development with cocoon. What a pity.
Stephan
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
