cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reinhard Poetz (JIRA)" <j...@apache.org>
Subject [jira] Created: (COCOON3-48) Relative access of deeply nested matcher parameters doesn't work
Date Wed, 06 Jan 2010 12:06:54 GMT
Relative access of deeply nested matcher parameters doesn't work
----------------------------------------------------------------

                 Key: COCOON3-48
                 URL: https://issues.apache.org/jira/browse/COCOON3-48
             Project: Cocoon 3
          Issue Type: Bug
          Components: cocoon-sitemap
    Affects Versions: 3.0.0-alpha-3
            Reporter: Reinhard Poetz
            Assignee: Cocoon Developers Team


Following pipeline doesn't work:

      <map:match wildcard="deep-relative-matcher/{a}">
        <map:match value="{jexl:cocoon.request.param_a}" equals="1">
          <map:match value="{jexl:cocoon.request.param_b}" equals="1">
            <map:generate src="sax-pipeline/simple.xml" />
            <map:transform src="sax-pipeline/simple.xslt">
              <map:parameter name="myParam" value="{map:../../a}" />
            </map:transform>
            <map:serialize />
          </map:match>        
        </map:match>
      </map:match>  

I added this pipeline to the cocoon-samples sitemap and an integration test to org.apache.cocoon.it.MatcherTest#ignored_testDeepRelativeMatcher().

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


Mime
View raw message