Hi All, I am having problems passing sitemap parameters to resources in cocoon 2.0.3. Below are some sitemap snippets that illustrate what I am trying to achieve. For example, if the uri "home" is requested then the "home" resource is called which in turn calls the "nodePage" resource, which uses the originally requested uri as a parameter to generate the correct page.
These resources/pipelines worked fine under 2.0.2, but under 2.0.3 the src for the generate in the "nodePage" resource is resolved to "docs/.xml" - the parameter is empty. I have tried using {1}, {../../1} and various other combinations, and have also tried passing named sitemap parameters with string values in them as a test - these also fail. It seems that I just cannot pass parameters from a pipeline to the resource. Is this still possible under 2.0.3? If so can someone tell what has changed, so I can get this working again! [..] <map:resource name="nodePage"> <map:act type="debug"> <map:parameter name="action" value="{../1}" /> </map:act> <map:act type="navigation"> <map:parameter name="action" value="set" /> <map:parameter name="nextPage" value="{../1}" /> <map:parameter name="onError" value="{../1}" /> </map:act> <map:generate type="file" src="docs/{../1}.xml" /> <map:call resource="XHTML" /> </map:resource> <map:resource name="home"> <map:act type="security"> <map:parameter name="action" value="isLoggedOn" /> <map:call resource="securityFailure"/> </map:act> <map:call resource="nodePage"/> </map:resource> [..] <map:match pattern="*"> <map:call resource="{1}"/> </map:match> [..] Thanks in advance, Robin Wyles --------------------------------------------------------------------- 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]>