[ 
https://issues.apache.org/jira/browse/COCOON-2187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12583090#action_12583090
 ] 

Reinhard Poetz commented on COCOON-2187:
----------------------------------------

My first guess is that this only occurs when a sub-request (in this case 
invoked by the jx:import statement) is being executed. Therefore I've added an 
integration test to cocoon-webapp and cocoon-template-sample.

> Sitemap parameters get lost in JX templates when used in jx:import
> ------------------------------------------------------------------
>
>                 Key: COCOON-2187
>                 URL: https://issues.apache.org/jira/browse/COCOON-2187
>             Project: Cocoon
>          Issue Type: Bug
>          Components: Blocks: Templating
>            Reporter: Reinhard Poetz
>
> This template doesn't work with trunk:
> <page xmlns:jx="http://apache.org/cocoon/templates/jx/1.0";>
>   <p1>
>     <jx:import uri="servlet:/it/${cocoon.parameters.doc}"/>
>   </p1>
>   <p2>${cocoon.parameters.doc}</p2>
> </page>
> The second time when the 'doc' parameter is read, it is empty. That only 
> happens when the parameter is used within a jx:import expression.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to