Are you sure that you put your mydate param into a HashMap and that you also return this HashMap inside your act method. If you don't return at least an empty HashMap, nothing will be done inside the action tags. Your pipeline entries seem to be correct, it should work with {1}.
Regards, Elmar -----Ursprüngliche Nachricht----- Von: Barbara Post [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 25. Juli 2002 09:30 An: [EMAIL PROTECTED] Betreff: trouble passing a parameter to my action Hello, I use the following with C 2.0.3 : <map:action logger="error.baepp.setmydate" name="setmydate" src="baepp.SetMyDateAction"/> To keep it simple this action takes "lang" parameter and puts its value in "mydate" parameter. and a test pipeline : <map:pipeline> <map:match pattern="mytest/*"> <map:act type="setmydate"> <map:parameter name="lang" value="{1}"/> <map:redirect-to uri="http://www.google.fr/{mydate}"/> </map:act> <map:redirect-to uri="http://www.google.fr/pasok/{1}"/> </map:match> </map:pipeline> I doesn't work and redirects to the map:act failure url. If I use <map:parameter name="lang" value="EN"/> it works. I want to use the value of "*" to pass it to my action. What's wrong ? I also tried {../1} but this does not exist. Thanks for a tip ! Barbara --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>