Re: action in a pipeline

2003-03-20 Thread Lionel Crine
I found an answer to this problem. I can't write a pipeline with only one action. A pipeline should have one generator and one serialize at least. At 14:26 18/03/2003 -0800, you wrote: I am assuming you want the value of save to equal foobar in the case where the URI is save/foobar. Try using

action in a pipeline

2003-03-18 Thread Lionel Crine
I wrote that this match: map:match pattern=save/* map:act type=Save map:parameter name=save value={1}/ /map:act /map:match Cocoon didn't find the resource. Is it illegal to write that ?

Re: action in a pipeline

2003-03-18 Thread Jeremy Michael Crosbie
I am assuming you want the value of save to equal foobar in the case where the URI is save/foobar. Try using {../1} instead. Since actions add their own parameters to the sitemap you need to tell Cocoon to get the parameter from the match. Lionel Crine wrote: I wrote that this match:

Re: action in a pipeline

2003-03-18 Thread Jeff Turner
On Tue, Mar 18, 2003 at 05:13:46PM +0100, Lionel Crine wrote: I wrote that this match: map:match pattern=save/* map:act type=Save map:parameter name=save value={1}/ /map:act /map:match Can't see anything wrong with that. I assume you have a