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 7570] New: - siteparameter not recognized in map:call resource="{param}"
Date Thu, 28 Mar 2002 11:43:03 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=7570>.
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=7570

siteparameter not recognized in map:call resource="{param}"

           Summary: siteparameter not recognized in map:call
                    resource="{param}"
           Product: Cocoon 2
           Version: Current CVS
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: Other
         Component: sitemap components
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: howard.branch@afxnews.com


<map:match pattern="afxsecurity">
<map:act type="afxsecurity">
<map:parameter name="secure-url" value="archive"/>
<map:parameter name="insecure-url" value="secure-page"/>
<map:call resource="{authorized}">
</map:call>
</map:act>
</map:match>
In this snippet from my sitemap, parameter 'authorized' is set by the action to
value of either secure-url/insecure url. This definitely works since I can
happily map:redirect to another url. However when using map:call cocoon always
looks for resource "" (ie. {authorized} evaluates to null string.) I have also
tried using {../authorized} to no avail. I have tried this on 2.0.1 and cvs
build from 26/march.

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message