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: XPathExceptionSelector
Date Thu, 26 Mar 2009 15:02:33 GMT
A document has been updated:

http://cocoon.zones.apache.org/daisy/documentation/969.html

Document ID: 969
Branch: main
Language: default
Name: XPathExceptionSelector (unchanged)
Document Type: Sitemap Component (unchanged)
Updated on: 11/24/08 12:52:22 PM
Updated by: Felix Knecht

A new version has been created, state: publish

Parts
=====

Long description
----------------
This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 1118 bytes (previous version: 913 bytes)
Content diff:
(7 equal lines skipped)
    
    <p>Example configuration :</p>
    
--- <p>&lt;map:selector type="error" src="....XPathExceptionSelector"&gt;<br/>
---   &lt;exception name="denied" class="my.comp.auth.AuthenticationFailure"&gt;
+++ <p>&lt;map:components&gt;<br/>
+++   &lt;map:selectors&gt;<br/>
+++     ...<br/>
+++     &lt;map:selector name="error"
+++ src="org.apache.cocoon.selection.XPathExceptionSelector"&gt;<br/>
+++       &lt;exception name="denied" class="my.comp.auth.AuthenticationFailure"&gt;
    <br/>
---     &lt;xpath name="PasswordWrong" test="authCode=10"/&gt;<br/>
---     &lt;xpath name="PasswordExpired" test="errorCode=11"/&gt;<br/>
---     &lt;xpath name="AccessForbidden" test="errorCode&amp;gt;11"/&gt;<br/>
---   &lt;/exception&gt;<br/>
--- &lt;/map:selector&gt;</p>
+++         &lt;xpath name="PasswordWrong" test="authCode=10"/&gt;<br/>
+++         &lt;xpath name="PasswordExpired" test="errorCode=11"/&gt;<br/>
+++         &lt;xpath name="AccessForbidden" test="errorCode&amp;gt;11"/&gt;<br/>
+++       &lt;/exception&gt;<br/>
+++     &lt;/map:selector&gt;<br/>
+++   &lt;/map:selectors&gt;<br/>
+++ &lt;/map:componets&gt;</p>
    
    <p>This example shows several features:</p>
    
(9 equal lines skipped)


Mime
View raw message