haul 01/07/24 02:53:54
Modified: xdocs Tag: cocoon_20_branch faq.xml
Log:
- FAQ entry actions and listOfMaps
- extended actions docs to include Maps & Maps for action sets
Revision Changes Path
No revision
No revision
1.1.1.1.2.12 +26 -0 xml-cocoon2/xdocs/faq.xml
Index: faq.xml
===================================================================
RCS file: /home/cvs/xml-cocoon2/xdocs/faq.xml,v
retrieving revision 1.1.1.1.2.11
retrieving revision 1.1.1.1.2.12
diff -u -r1.1.1.1.2.11 -r1.1.1.1.2.12
--- faq.xml 2001/07/23 15:27:03 1.1.1.1.2.11
+++ faq.xml 2001/07/24 09:53:54 1.1.1.1.2.12
@@ -360,6 +360,32 @@
</answer>
</faq>
<faq>
+ <question>When I add an action to a pipeline @docname@ returns an
+ error.</question>
+ <answer>
+ <p>Before the action was added to the pipeline it worked fine. After
+ the change @docname@ seems not to find the file specified in the
+ variable that is returned by the matcher.</p>
+<source>
+<![CDATA[
+<map:match pattern="*">
+ <map:act type="validate-session">
+ <map:generate type="serverpages" src="{../1}.xsp"/>
+ </map:act>
+ <map:serialize/>
+</map:match>
+]]>
+</source>
+ <p>Please note in the above example the
+ "<em><code>../1</code></em>".</p>
+ <p>Map objects returned from matchers, actions etc. are organised
+ <em>hierarchically</em>. Therefore they are not replaced by new ones
+ but older ones are still accessible through a path expression. Here
+ "<code>../1</code>" references key ("variable") "1" in the next to
+ last Map. </p>
+ </answer>
+</faq>
+<faq>
<question>How could I have my @docname@app in an URI other than
<you-server>/cocoon/<my-app>?
</question>
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]