Bruyn Bill wrote:
Yeah, right, you can find a complete list with (sometimes brief) explanations of input modules here http://cocoon.apache.org/2.1/userdocs/concepts/modules-ref.html . Input modules are quite easy to understand reading the code directly (just a couple of methods, one to return the supported keywords, the other one to convert it to a value, and something else i can't remember :) ), but are commonly based on a list of keywords, a map retrival (like the request-param) or xpath over a defined object (like the flow-continuation).Just what I was looking for. Thanks, Simone! BTW, if I wanted to pass my bizData from flow to the sitemap and then into another pipeline, I could just: You can also "stream" the content of a bizdata directly inside a pipeline using the "module:" pseudoprotocol (see this articole http://www.planetcocoon.com/node/2190 ) and access the input modules functionalities from inside a flow, but i can't find where it's explained anymore :( Simone -------Original Message----- From: Simone Gianni [mailto:[EMAIL PROTECTED]] Sent: Friday, March 03, 2006 4:52 PM To: [email protected] Subject: Re: [FLOW] sendPageAndWait continuation storage Hi Bruyn, there is a continuation input module, that you can use inside the sitemap to pass any continuation information to any object (an xsl, a flow, a custom object of yours). For example, to pass the continuation id as a parameter to an XSLT you can simply write : <map:transform src=""> <map:parameter name="contid" value="{flow-continuation:id}"/> </map:transform> The syntax of the input module is xpath based, so to obtain for example the id of the parent continuation you can use flow-continuation:parentContinuation/id . You can find the javadocs for the input module class here http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/compone nts/modules/input/FlowContinuationModule.html . Regarding bizdata, they are live only within the request, so once you have serialized the page (or PDF or whatever else) they are lost, but all you need is still in the flow, so once you get back there using the continuation id ... Hope this helps, Simone Bruyn Bill wrote: Simone Gianni |
- Re: [FLOW] sendPageAndWait continuation storage Simone Gianni
- RE: [FLOW] sendPageAndWait continuation storage Bruyn Bill
- Re: [FLOW] sendPageAndWait continuation storage Simone Gianni
- Re: [FLOW] sendPageAndWait continuation storage Leszek Gawron
- RE: [FLOW] sendPageAndWait continuation storage Bruyn Bill
- Re: [FLOW] sendPageAndWait continuation storage Leszek Gawron
