cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@cocoon.zones.apache.org
Subject [DAISY] Updated: EventAwareCache
Date Sun, 17 Aug 2008 15:35:11 GMT
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>&lt;map:pipeline type="event-aware"&gt;
+++ <pre>  &lt;map:pipeline type="event-aware"&gt;
+++     &lt;map:match pattern="action"&gt;
+++       &lt;map:act type="CacheEvent"&gt;
+++         &lt;map:parameter name="event" value="{request-param:event}" /&gt;
+++       &lt;/map:act&gt;
+++       ...
+++     &lt;/map:match&gt;
+++   &lt;/map:pipeline&gt;</pre>
    
---   &lt;map:match pattern="action"&gt;
+++ <h3>Configuration</h3>
    
---     &lt;map:act type="CacheEvent"&gt;
--- 
---       &lt;map:parameter name="event" value="{request-param:event}" /&gt;
--- 
---     &lt;/map:act&gt;
--- 
---     ...
--- 
---   &lt;/map:match&gt;
--- 
--- &lt;/map:pipeline&gt;</pre>
--- 
--- <p>Configuration</p>
--- 
    </body>
    </html>


Mime
View raw message