You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Reinhard Poetz (JIRA)" <ji...@apache.org> on 2008/03/28 17:36:25 UTC
[jira] Updated: (COCOON-2187) Sitemap parameters get lost in JX
templates when used in jx:import
[ https://issues.apache.org/jira/browse/COCOON-2187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reinhard Poetz updated COCOON-2187:
-----------------------------------
Description:
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.
was:
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.
Summary: Sitemap parameters get lost in JX templates when used in jx:import (was: Sitemap parameters get lost in JX templates)
> 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.