haul 01/09/18 07:51:15 Modified: xdocs Tag: cocoon_20_branch matchers_selectors.xml Log: changed *SessionState(Matcher|Selector)* to more general *SessionAttribute(Matcher|Selector)* updated docs + samples accordingly Revision Changes Path No revision No revision 1.1.2.5 +3 -3 xml-cocoon2/xdocs/matchers_selectors.xml Index: matchers_selectors.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/xdocs/matchers_selectors.xml,v retrieving revision 1.1.2.4 retrieving revision 1.1.2.5 diff -u -r1.1.2.4 -r1.1.2.5 --- matchers_selectors.xml 2001/07/28 03:19:22 1.1.2.4 +++ matchers_selectors.xml 2001/09/18 14:51:15 1.1.2.5 @@ -169,7 +169,7 @@ <![CDATA[ <map:match type="sessionstate" pattern="edit*"> <!-- here you could insert parameters for the above matcher --> - <map:parameter name="state-key" value="__sessionstate"/> + <map:parameter name="attribute-name" value="__sessionstate"/> <map:match type="next-page" pattern="ok*"> <!-- do something here, eg. database updates --> <map:redirect-to resource="simple-page1"/> @@ -326,7 +326,7 @@ <code>generateClassSource</code> processed pattern, the current environment (<code>objectModel</code>), and the parameters given for the corresponding match element. In the example above for nested matchers, this would be the -<code><![CDATA[<map:parameter name="state-key" value="__sessionstate"/>]]></code>. The +<code><![CDATA[<map:parameter name="attribute-name" value="__sessionstate"/>]]></code>. The <code>int []</code> part of the method signature was generated by <code>generateParameterSource</code>. </p> @@ -370,4 +370,4 @@ <p> For selectors, the last argument reads <code>param</code> instead of <code>parameters</code>. </p></s2></s1></body> -</document> \ No newline at end of file +</document> ---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]