can you have map:generate inside map:aggregate like you do in pipeline 2? Shouldn't both be map:part?
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 21, 2002 3:14 PM
To: [EMAIL PROTECTED]
Subject: request parameter problems
Hi,
I got a problem regrading the request parameter handling in cocoon..
My problem is as follows :
<!-- Pipeline 1-->
<map:pipeline>
<map:match pattern="common/compile/**/*.spain">
<map:generate src=""http://localhost:8080/xml/{1}/{2}.rio"/>
<map:transform src=""http://localhost:8080/envs/common/compile.xsl" />
<map:serialize type="xml"/>
</map:match>
<map:match pattern="envs/*/param.xsp*">
<map:generate src=""http://localhost:8080/envs/{1}/param.xsp{2}" type="serverpages"/>
<map:transform src=""http://localhost:8080/envs/{1}/param.xsl" />
<map:serialize type="xml"/>
</map:match>
</map:pipeline>
<!-- Pipeline 2-->
<map:pipeline>
<map:match pattern="*/*/**/*.rio*">
<map:aggregate element="site">
<map:part src=""http://localhost:8080/cocoon/common/compile/{3}/{4}.spain"/>
<map:generate src=""http://localhost:8080/cocoon/envs/{1}/param.xsp{5}" type="serverpages"/><-------------
</map:aggregate>
<map:serialize type="xml"/>
</map:match>
</map:pipeline>
if I have a url like
http://localhost:8080/cocoon/env1/audios/polsani/spain/spainRio.rio?view=double&sn=3
then my request parameters should be passed to "params.xsp" in pipeline 1.
Problem is "params.xsp" is not getting these request parameters..
In case I invoke
http://localhost:8080/envs/env1/param.xsp?view=double&sn=3 my request
parameters are passesed to params.xsp.
Can anyone tell me how to pass the request parameters to "params.xsp".
Thanks
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>