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 22270] New: - [PATCH] SitemapSource cocoon-view parameter
Date Sat, 09 Aug 2003 10:02:25 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=22270>.
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=22270

[PATCH] SitemapSource cocoon-view parameter

           Summary: [PATCH] SitemapSource cocoon-view parameter
           Product: Cocoon 2
           Version: Current CVS 2.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: core
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: unico@hippo.nl


The way SitemapSource currently sets up the wrapper environment it uses to
process the request does not allow for the sitemap to specify a cocoon-view
parameter. Instead the cocoon-view of the original request is always inherited.

What this patch achieves is that a sitemap developer can specify a cocoon-view
in the subprotocol like so:

<map:generate src="cocoon:/news.html?cocoon-view=content" />

If the such a query string parameter is not present processing is done as it was.

Mime
View raw message