Am Oct 11, 2007 um 17:07 schrieb Amit Pandey:
Hello,
I am using a code to redirect a request to another page as follows:
<map:match pattern="**/*live/newapp.html*">
<map:redirect-to uri="/propcoweb/{page-
envelope:publication-id}/{page-envelope:area}/*proregister/
newapp.html*" ></map:redirect-to>
</map:match>
but instead of redirecting the request to an uri,I want it to call
another pipeline which is :
<map:match pattern="**/*proregister/newapp.html*">
<map:aggregate element="cmsbody">
<map:part
src="cocoon://navigation/{page-
envelope:publication-id}/{page-envelope:area}/breadcrumb/index.xml"/>
<map:part
src="cocoon://navigation/{page-
envelope:publication-id}/{page-envelope:area}/tabs/index.xml"/>
<map:part
src="cocoon://navigation/{page-
envelope:publication-id}/{page-envelope:area}/menu/index.xml"/>
<map:part
src="cocoon://navigation/{page-
envelope:publication-id}/{page-envelope:area}/search/index.xml"/>
<map:part src="content/live/proregister/newapp/
index_en.xml"/>
<map:part src="cocoon:/propcoweb-xml-fillsearch"/>
<map:part src="cocoon:/propcoweb-xml-
passwordreminder">
<map:parameter name="type" value="{type}"/>
<map:parameter name="email" value="{email}"/>
</map:part>
</map:aggregate>
<map:act type="captchaaction">
<map:transform src="xslt/proregister/newapp2xhtml.xsl">
<map:parameter name="root" value="{global:web-path}"/>
<map:parameter name="captchapath"
value="{captchapath}"/>
<map:parameter name="captchatext"
value="{captchatext}"/>
</map:transform>
</map:act>
<map:serialize type="xhtml"/>
</map:match>
Is it possible to redirect the
incoming request to another pipeline within the publication-
sitemap.xmap
Maybe the cocoon:/ Protocol is what you are looking for?
It can be used to get a pipeline from the current sitemap
(as decribed at http://cocoon.apache.org/2.1/userdocs/concepts/
sitemap.html)
Jürgen Ragaller
null-oder-eins GmbH
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]