> I have this firt pipeline :
>
> <map:pipeline>
> <map:match pattern="etatdb">
> <map:generate type="serverpages"
> src="etatdb.xsp"/>
> <map:transform src="etatdb.xsl"/>
> <map:serialize/>
> </map:pipeline>
>
> when i use this pipeline, my URL is :
> http:://localhost/cocoon/phl/etatdb?client=1®ion=PL
>
> I have a second pipeline, that use database update action and i want
> redirect to the first pipeline when database is update :
Try this
> <map:pipeline>
here:
> <map:match pattern="majetatdb*">
> <map:act set="etatdb">
> <map:parameter name="descriptor"
> value="context://phl/histo_etatdb.xml"/>
and here:
> <map:redirect-to uri="/etatdb{1}"/>
> </map:act>
>
> <map:generate type="serverpages"
> src="majetatdb.xsp"/>
> <map:transform src="majetatdb.xsl"/>
> <map:serialize/>
> </map:match>
> </map:pipeline>
>
> my question is :
> how i can force the request parameter to the <map:redirect-to
> uri="/etatdb"/>.
I'm not sure that this will work, but I would avoid redirect at all. Try to
use internal redirect instead:
<map:redirect-to uri="cocoon:/etatdb"/>.
Regards,
Konstantin
>
> thanks
>
> Philippe LEBRETON
>
>
> ---------------------------------------------------------------------
> 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]>