Hello list,

I'm trying to write the output of a pipeline to a fiel from a flowscript using "processPipelineTo".

It fails because I cant figure out a way to send request parameters to the pipeline.


the pipeline looks like this:


<map:match pattern="parseimdbtitle">
<map:generate type="html"
src="http://www.imdb.com/title/{request-param:imdbtitle}"; />
<map:transform src="stylesheets/parseimdbtitle.xsl"/>
<map:serialize type="xml"/>
</map:match>


Heres one flowscript fragment that doesnt work:

cocoon.processPipelineTo("parseimdbtitle?imdbtitle="+bizdata.imdbtitle,bizdata,out);

I get:

No pipeline matched request: famelib/parseimdbtitle?imdbtitle=tt0276751/


If I dont build the query parameter string like this:


cocoon.processPipelineTo("parseimdbtitle",bizdata,out);

and bizdata contains the wanted request parameter, it doesnt work either, because
the parameter map is not sent as a request parameter.



So I guess my basic question is: how do I make a pipeline that can take both request parameters and
"bizdata" parameters at the same time? Or is it the other way around? Should the pipeline
be made to accept "bizdata" parameters only?



/Joakim



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to