Author: vgritsenko Date: Thu Dec 30 06:23:28 2004 New Revision: 123717 URL: http://svn.apache.org/viewcvs?view=rev&rev=123717 Log: set properties
Modified: cocoon/branches/BRANCH_2_1_X/src/documentation/xdocs/plan/review-sitemap-docs.xml (props changed) cocoon/branches/BRANCH_2_1_X/src/documentation/xdocs/plan/roadmap.xml (props changed) cocoon/branches/BRANCH_2_1_X/src/documentation/xdocs/userdocs/generators/calendar-generator.xml (props changed) cocoon/branches/BRANCH_2_1_X/src/documentation/xdocs/userdocs/generators/jx-generator.xml (props changed) cocoon/branches/BRANCH_2_1_X/src/documentation/xdocs/userdocs/generators/mp3directory-generator.xml (props changed) cocoon/branches/BRANCH_2_1_X/src/documentation/xdocs/userdocs/selectors/regular-expression-header-selector.xml (props changed) cocoon/branches/BRANCH_2_1_X/src/documentation/xdocs/userdocs/selectors/requestmethod-selector.xml (contents, props changed) Modified: cocoon/branches/BRANCH_2_1_X/src/documentation/xdocs/userdocs/selectors/requestmethod-selector.xml Url: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/documentation/xdocs/userdocs/selectors/requestmethod-selector.xml?view=diff&rev=123717&p1=cocoon/branches/BRANCH_2_1_X/src/documentation/xdocs/userdocs/selectors/requestmethod-selector.xml&r1=123716&p2=cocoon/branches/BRANCH_2_1_X/src/documentation/xdocs/userdocs/selectors/requestmethod-selector.xml&r2=123717 ============================================================================== --- cocoon/branches/BRANCH_2_1_X/src/documentation/xdocs/userdocs/selectors/requestmethod-selector.xml (original) +++ cocoon/branches/BRANCH_2_1_X/src/documentation/xdocs/userdocs/selectors/requestmethod-selector.xml Thu Dec 30 06:23:28 2004 @@ -1,112 +1,112 @@ -<?xml version="1.0"?> -<!-- - Copyright 1999-2004 The Apache Software Foundation - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.0//EN" "../../dtd/document-v10.dtd"> - -<!-- - <![CDATA[ CVS Version: $Id: selector.template,v 1.6 2004/04/21 00:35:27 crossley Exp $ - ]]> ---> -<document> - <header> - <title>RequestMethodSelector in Cocoon</title> - <version>0.9</version> - <type>Technical document</type> - <authors> - <person name="Cocoon Community" email="dev@cocoon.apache.org"/> - </authors> - <abstract>This document describes the RequestMethodSelector of Cocoon.</abstract> - </header> - <body> - <s1 title="RequestMethodSelector"> - <table> - <tr> - <td>NAME</td><td>RequestMethod</td> - </tr> - <tr> - <td>WHAT</td><td>The <code>RequestMethodSelector</code> component is used to - select appropriate sitemap processing depending on the request method, - for example, <code>GET</code> or <code>POST</code>. - </td> - </tr> - <tr> - <td>TYPE</td><td>Selector, Sitemap Component</td> - </tr> - <tr> - <td>BLOCK</td><td>Core</td> - </tr> - <tr> - <td>CLASS</td><td>org.apache.cocoon.selection.RequestMethodSelector</td> - </tr> - <tr> - <td>CACHEABLE</td><td>not applicable</td> - </tr> - </table> - </s1> - <s1 title="Description"> - <p> - The RequestMethodSelector allows pipeline creation to be influenced by the method of - the request. For example, in a Cocoon Forms environment, a <code>GET</code> request - could be forwarded to a new FlowScript function, whilst a <code>POST</code> could be - forwarded to a continuation, for example: - </p> - <source><![CDATA[ -<map:match pattern="myform"> - <map:select type="request-method"> - <map:when test="GET"> - <map:call function="myform"/> - </map:when> - <map:when test="POST"> - <map:call continuation="request-param:continuation-id"/> - </map:when> - </map:select> -</map:match> -]]></source> - </s1> - <s1 title="Configuration"> - - <s2 title="Sitemap component configuration example"> - <p></p> - <source><![CDATA[ -<map:selectors... - <map:selector name="request-method" - logger="sitemap.selector.request-method" - src="org.apache.cocoon.selection.RequestMethodSelector"/> - ... -</map:selectors> -]]></source> - </s2> - <s2 title="Configuration"> - <p> - The request method selector does not require any specific configuration, other than - specifying a name and an implementing class, as in the example above. - </p> - </s2> - </s1> - <s1 title="History"> - <p> - 2004-12-16: Created this document - </p> - </s1> - <s1 title="See also"> - <p> - General documentation about selectors is available at - <link href="../concepts/matchers_selectors.html">Matchers and Selectors</link>. - </p> - </s1> - </body> -</document> - +<?xml version="1.0"?> +<!-- + Copyright 1999-2004 The Apache Software Foundation + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.0//EN" "../../dtd/document-v10.dtd"> + +<!-- + <![CDATA[ CVS Version: $Id$ + ]]> +--> +<document> + <header> + <title>RequestMethodSelector in Cocoon</title> + <version>0.9</version> + <type>Technical document</type> + <authors> + <person name="Cocoon Community" email="dev@cocoon.apache.org"/> + </authors> + <abstract>This document describes the RequestMethodSelector of Cocoon.</abstract> + </header> + <body> + <s1 title="RequestMethodSelector"> + <table> + <tr> + <td>NAME</td><td>RequestMethod</td> + </tr> + <tr> + <td>WHAT</td><td>The <code>RequestMethodSelector</code> component is used to + select appropriate sitemap processing depending on the request method, + for example, <code>GET</code> or <code>POST</code>. + </td> + </tr> + <tr> + <td>TYPE</td><td>Selector, Sitemap Component</td> + </tr> + <tr> + <td>BLOCK</td><td>Core</td> + </tr> + <tr> + <td>CLASS</td><td>org.apache.cocoon.selection.RequestMethodSelector</td> + </tr> + <tr> + <td>CACHEABLE</td><td>not applicable</td> + </tr> + </table> + </s1> + <s1 title="Description"> + <p> + The RequestMethodSelector allows pipeline creation to be influenced by the method of + the request. For example, in a Cocoon Forms environment, a <code>GET</code> request + could be forwarded to a new FlowScript function, whilst a <code>POST</code> could be + forwarded to a continuation, for example: + </p> + <source><![CDATA[ +<map:match pattern="myform"> + <map:select type="request-method"> + <map:when test="GET"> + <map:call function="myform"/> + </map:when> + <map:when test="POST"> + <map:call continuation="request-param:continuation-id"/> + </map:when> + </map:select> +</map:match> +]]></source> + </s1> + <s1 title="Configuration"> + + <s2 title="Sitemap component configuration example"> + <p></p> + <source><![CDATA[ +<map:selectors... + <map:selector name="request-method" + logger="sitemap.selector.request-method" + src="org.apache.cocoon.selection.RequestMethodSelector"/> + ... +</map:selectors> +]]></source> + </s2> + <s2 title="Configuration"> + <p> + The request method selector does not require any specific configuration, other than + specifying a name and an implementing class, as in the example above. + </p> + </s2> + </s1> + <s1 title="History"> + <p> + 2004-12-16: Created this document + </p> + </s1> + <s1 title="See also"> + <p> + General documentation about selectors is available at + <link href="../concepts/matchers_selectors.html">Matchers and Selectors</link>. + </p> + </s1> + </body> +</document> +