Nope it doesn't.

----- Original Message -----
From: "David Rosenstrauch" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 27, 2001 2:10 PM
Subject: Re: L&F: passing parameters to resource


> I think this works:
>
>              <map:match pattern="home">
>                  <map:generate src="content/xml/welcome.xml" />
>                  <map:redirect-to resource="transf">
>                          <map:parameter name="file" value="welcome"/>
>                  </map:redirect-to>
>              </map:match>
>
> Haven't tried it though.  Email back if I'm wrong.
>
>
> DR
>
>
> At 01:22 PM 11/27/01 -0500, you wrote:
> >Is there any way to pass parameters to resource from redirect-to point.
for
> >example:
> >
> >     <map:resources>
> >         <map:resource name="transf">
> >             <map:transform src="stylesheets/xsl/{file}.xsl"/>
> >             <map:serialize/>
> >         </map:resource>
> >     </map:resources>
> >
> >     <map:pipelines>
> >         <map:pipeline>
> >             <map:match pattern="home">
> >                 <map:parameter name="file" value="welcome"/> <!-- This
> >doesn't work -->
> >                 <map:generate src="content/xml/welcome.xml" />
> >                 <map:redirect-to resource="transf"/>
> >             </map:match>
> >         </map:pipeline>
> >     </map:pipelines>
> >
> >Any ideas?
> >
> >Alex
> >
> >
> >---------------------------------------------------------------------
> >Please check that your question has not already been answered in the
> >FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> >
> >To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> >For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to