[DAISY] Updated: XPathExceptionSelector
[email protected] Thu, 26 Mar 2009 15:02:33 +0000 (GMT+00:00)
| Newsgroups | gmane.text.xml.cocoon.documentation |
|---|---|
| Message-ID | <[email protected]> |
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><map:selector type="error" src="....XPathExceptionSelector"><br/>
--- <exception name="denied" class="my.comp.auth.AuthenticationFailure">
+++ <p><map:components><br/>
+++ <map:selectors><br/>
+++ ...<br/>
+++ <map:selector name="error"
+++ src="org.apache.cocoon.selection.XPathExceptionSelector"><br/>
+++ <exception name="denied" class="my.comp.auth.AuthenticationFailure">
<br/>
--- <xpath name="PasswordWrong" test="authCode=10"/><br/>
--- <xpath name="PasswordExpired" test="errorCode=11"/><br/>
--- <xpath name="AccessForbidden" test="errorCode&gt;11"/><br/>
--- </exception><br/>
--- </map:selector></p>
+++ <xpath name="PasswordWrong" test="authCode=10"/><br/>
+++ <xpath name="PasswordExpired" test="errorCode=11"/><br/>
+++ <xpath name="AccessForbidden" test="errorCode&gt;11"/><br/>
+++ </exception><br/>
+++ </map:selector><br/>
+++ </map:selectors><br/>
+++ </map:componets></p>
<p>This example shows several features:</p>
(9 equal lines skipped)