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/07/01 10:51:05 UTC
DO NOT REPLY [Bug 21213] New: -
[PATCH] Paginator caches dynamic pagesheet rules
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=21213>.
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=21213
[PATCH] Paginator caches dynamic pagesheet rules
Summary: [PATCH] Paginator caches dynamic pagesheet rules
Product: Cocoon 2
Version: Current CVS 2.1
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: sitemap components
AssignedTo: cocoon-dev@xml.apache.org
ReportedBy: frank.taffelt@interface-business.de
When the pagesheet rules are served over the cocoon protocol, instead of a
static file, the pagesheet definitions are cached from the first time they are
used. This is my usecase:
<map:transform src="cocoon:/pagesheets/searchmachine.xml" type="paginate">
<map:parameter name="page" value="{request-param:page}"/>
</map:transform>
The problem lies in the fact, that the cocoon protocol Source alway's gives 0
for their lastModified date. These let the Paginator think that the pagesheet
rules has never changed.
This patch enables the paginator to work correctly with this scenario.