You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Jos Snellings (JIRA)" <ji...@apache.org> on 2012/09/25 14:32:07 UTC
[jira] [Closed] (COCOON3-103) Cannot pass 's to
components inside of a
[ https://issues.apache.org/jira/browse/COCOON3-103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jos Snellings closed COCOON3-103.
---------------------------------
Resolution: Not A Problem
Within nested blocks, sitemap parameters should be referred to by a relative path
to the (ancestor) node in which they are declared.
It is just semantically not clear.
It is not a problem, but this should be documented. I had to look in the source code to discover this.
> Cannot pass <map:parameter>'s to components inside of a <map:select>
> ---------------------------------------------------------------------
>
> Key: COCOON3-103
> URL: https://issues.apache.org/jira/browse/COCOON3-103
> Project: Cocoon 3
> Issue Type: Bug
> Components: cocoon-sitemap
> Affects Versions: 3.0.0-beta-1
> Reporter: Jos Snellings
> Labels: clarification
> Fix For: 3.0.0-beta-1
>
>
> Following construct is in a sitemap match of:
> <map:match pattern="/staticstuff/{docid}/{nn}">
> <map:select value="{jexl:cocoon.request.method}">
> <map:when equals="POST">
> <map:transform type="tee">
> <map:parameter name="nn" value="{map:nn}"/>
> <map:parameter name="Url" value="repo:/{map:docid}"/>
> </map:transform>
> <map:transform type="edit">
> <map:parameter name="nn" value="{map:nn}"/>
> <map:parameter name="element" value="{jexl:cocoon.request.parameter.element}"/>
> </map:transform>
> </map:when>
> <map:otherwise/>
> </map:select>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira