You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Angelo Immediata <An...@libero.it> on 2006/04/28 16:49:53 UTC

Cocoon Portal and pipeline match problems

Hi all. I have this problem: i must use a general match in every my coplet; in portal sitemap i have added this match:

<map:match pattern="errori">
 <map:generate type="jx" src="coplets/flow/common/documents/er.jx"/>
 <map:transform type="xslt" src="resources/page-Styling.xsl"/>
 <map:serialize type="html"/>
</map:match>

Now if i am in a coplet (let's call it S026) i do some controls and then in my flowscript i do this thing:

}//Fine controlli
else{

  cocoon.sendPage("errori");
}

I have an error; the error is this one:
org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: portal/coplets/S026/errori

But i have defined this match in portal sitemap....doesn't it work?
Any ides?
Thanks


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Cocoon Portal and pipeline match problems

Posted by Philippe Gassmann <ph...@anyware-tech.com>.
Angelo Immediata wrote:

> Now if i am in a coplet (let's call it S026) i do some controls and then in my flowscript i do this thing:
>
> }//Fine controlli
> else{
>
>   cocoon.sendPage("errori");
> }
>
>   

Is the flowscript called from the portal sitemap ? Try to use
cocoon.sendPage("/portal/errori")




-- 
Philippe GASSMANN
Solutions & Technologies
ANYWARE TECHNOLOGIES
Tel : +33 (0)5 61 00 52 90
Fax : +33 (0)5 61 00 51 46
http://www.anyware-tech.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org