cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject request parameter problems
Date Wed, 21 Aug 2002 22:13:39 GMT


  I got a problem regrading the request parameter handling in cocoon..
My problem is as follows :

<!-- Pipeline 1-->
	<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 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"/>

<!-- Pipeline 2-->
       <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:serialize type="xml"/>

if I have a url like 
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".


Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message