You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "VENKATESAN, PADMANABAN (SBCSI)" <pv...@sbc.com> on 2004/05/20 18:57:35 UTC
[HELP]No pipeline matched request: samp/do-upload
Description:org.apache.cocoon.ResourceNotFoundException: No pipeline
matched request: samp/do-upload
Sitemap.xmap as follows
<?xml version="1.0"?>
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
<map:components>
<map:generators default="file"/>
<map:actions>
<map:action name="fileupload" src="Fileuploader"/>
</map:actions>
<map:transformers default="xslt"/>
<map:serializers default="html"/>
<map:selectors default="browser"/>
<map:readers default="resource"/>
<map:matchers default="wildcard"/>
</map:components>
<map:pipelines>
<map:pipeline>
<map:match pattern="index.html">
<map:generate type="file" src="content/main.xml"/>
<map:transform type="xslt" src="style/main.xsl"/>
<map:serialize type="html"/>
</map:match>
<map:match pattern="index.pdf">
<map:generate type="file" src="content/main.xml"/>
<map:transform type="xslt" src="style/main-pdf.xsl"/>
<map:serialize type="fo2pdf"/>
</map:match>
<map:match pattern="**upload-form.html">
<map:generate src="style/upload-form.html"/>
<map:serialize type="html"/>
</map:match>
<map:match pattern="**do-upload">
<map:act type="request">
<map:parameter name="parameters" value="true"/>
<map:act type="fileupload">
<map:parameter name="upload-dir" value="{upload-dir}$
<map:generate src="style/upload-form.html"/>.......
Thanks
Padu.
padu@sfsu.edu
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org