[DAISY] Updated: EventAwareCache
| Newsgroups | gmane.text.xml.cocoon.documentation |
|---|---|
| Message-ID | <[email protected]> |
A document has been updated:
http://cocoon.zones.apache.org/daisy/documentation/1492.html
Document ID: 1492
Branch: main
Language: default
Name: EventAwareCache (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 8/17/08 3:35:06 PM
Updated by: Lukas Lang
A new version has been created, state: draft
Parts
=====
Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name: (unchanged)
Size: 1538 bytes (previous version: 1527 bytes)
Content diff:
(30 equal lines skipped)
action in our pipeline section, calling the CacheEvent bean's act method,
passing the name of an event:</p>
--- <pre><map:pipeline type="event-aware">
+++ <pre> <map:pipeline type="event-aware">
+++ <map:match pattern="action">
+++ <map:act type="CacheEvent">
+++ <map:parameter name="event" value="{request-param:event}" />
+++ </map:act>
+++ ...
+++ </map:match>
+++ </map:pipeline></pre>
--- <map:match pattern="action">
+++ <h3>Configuration</h3>
--- <map:act type="CacheEvent">
---
--- <map:parameter name="event" value="{request-param:event}" />
---
--- </map:act>
---
--- ...
---
--- </map:match>
---
--- </map:pipeline></pre>
---
--- <p>Configuration</p>
---
</body>
</html>