Hi all! I know that similar questions has got on this list, but I can't found resolve of my trouble. I need to: 1. make redirection from one pipeline to another. 2. add a few parameters to new pipeline request.
Is it possible? I try: <map:resources> <map:resource name="message"> <map:generate type="request"/> <map:serialize type="xml"/> </map:resource> </map:resources> <map:pipelines> <map:pipeline> <!-- - selects document with managing of employees --> <map:match pattern="employee"> <map:select type="parameter"> <map:parameter name="parameter-selector-test" value="{$action}"/> <map:when test="new"> <map:redirect-to uri="employee-new"/> </map:when> <map:otherwise> <map:redirect-to resource="message"/> </map:otherwise> </map:select> </map:match> </map:pipeline> </map:pipelines> When I try request form like: http://localhost:8080/cocoon/myapp/employee?action=any I want to pass to "message" resource one additional parameter param=value I try to do it as: <map:otherwise> <map:parameter name="param" value="value"/> <map:redirect-to resource="message"/> </map:otherwise> but it doesn't run. I don't want to do it as: <map:redirect-to resource="message?param=value"/> I have cocoon2.0.1. What is the method to pass additional parameters with redirection? Please help if it's possible. Best regards Jerzy Kut --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>