You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Bhavya Sharma <bh...@gmail.com> on 2006/07/19 12:33:13 UTC
problem with custom pipeline
Hi
I have created following pipeline to manage my own existing document, but
when i click on any item of side menu to whow existing lenya document it
shows me error
document id not found
i am accessing this pipeline through
http://localhost:8280/propcoweb/default/live/propcoweb/index.html
and i access lenya's document through
http://localhost:8280/propcoweb/default/live/index.html
but when i click on menuitem it adds the document name with remaining path
like
http://localhost:8280/propcoweb/default/live/propcoweb/contact.html
||
but that document is accessible through
http://localhost:8280/propcoweb/default/live/contact.html
so i can remove propcoweb from the path showing in browser
<map:match pattern="**/propcoweb/**">
<map:match pattern="**/propcoweb/index.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="propcowebdata/propcowebcontent/profirst/first.xml"/>
</map:aggregate>
<map:transform src="propcowebdata/propcowebxslt/first2xhtml.xsl">
<map:parameter name="root" value="/propcoweb/default/live"/>
<!-- <map:parameter name="url" value="first"/> -->
</map:transform>
<!-- <map:transform type="i18n">
<map:parameter name="locale"
value="{page-envelope:document-language}"/>
</map:transform>
<map:select type="parameter">
<map:parameter name="parameter-selector-test" value="{1}"/>
<map:when test="view">
<map:transform type="link-rewrite"/>
</map:when>
</map:select>-->
<map:serialize type="xml"/>
</map:match>
i am also using the following existing pipeline..........
<map:match pattern="lenyabody-*/*/*/*/**">
<map:aggregate element="cmsbody">
please reply me as soon Possible Thank you
Bhavya