cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 18687] New: - Global sitemap parameters not resolver properly
Date Fri, 04 Apr 2003 06:43:09 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18687>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18687

Global sitemap parameters not resolver properly

           Summary: Global sitemap parameters not resolver properly
           Product: Cocoon 2
           Version: 2.0
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: core
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: ouzo@vip.net.pl


<map:match pattern="test1/*">
    <map:generate src="data/{1}/form.xml"/>
    <map:transform src="cocoon://
{global:baseURL}/stylesheets/reportform2html.xsl">
        <map:parameter name="baseURL" value="/{global:baseURL}"/>
    </map:transform>
    <map:transform type="simpleform"/>
    <map:serialize/>
</map:match>
<map:match pattern="test2/*">
    <map:aggregate element="root">
        <map:part src="cocoon:/test1/{1}"/>
    </map:aggregate>
    <map:serialize/>
</map:match>

global parameter baseURL is defined in up level sitemap. When requesting
http://localhost:8080/something1/something2/test1/rep - the page gets rendered
properly.

When requesting http://localhost:8080/something1/something2/test2/rep we have:
Unable to get transformer handler for
cocoon:///stylesheets/reportform2html.xsl so {global:baseURL} does not get
resolved.

Mime
View raw message