You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2003/08/09 12:02:25 UTC
DO NOT REPLY [Bug 22270] New: -
[PATCH] SitemapSource cocoon-view parameter
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.