Re: action in a pipeline
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 {../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: 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 ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
action in a pipeline
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 ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: action in a pipeline
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: 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 ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: action in a pipeline
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 map:action definition for 'Save' somewhere in the sitemap too. Check the logs for errors.. --Jeff Cocoon didn't find the resource. Is it illegal to write that ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]