coliver 2003/05/24 18:05:23
Modified: src/documentation/xdocs/userdocs/flow api.xml velocity.xml
Log:
minor corrections
Revision Changes Path
1.6 +4 -3 cocoon-2.1/src/documentation/xdocs/userdocs/flow/api.xml
Index: api.xml
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/documentation/xdocs/userdocs/flow/api.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- api.xml 25 May 2003 00:57:53 -0000 1.5
+++ api.xml 25 May 2003 01:05:22 -0000 1.6
@@ -106,8 +106,8 @@
<p> <em>Function</em> <code>createSession()</code></p>
<p>
Associate the current set of JavaScript global variables with the
user's session. This means that all invocations from the
- sitemap of a JavaScript function (using the <map:call
- function="...">), will share global JavaScript variables.
+ sitemap of a JavaScript function (using the <link
href="sitemap.html#callFunction"><map:call
+ function="..."></link>), will share global JavaScript variables.
</p>
</s4>
@@ -118,7 +118,8 @@
<p>
Dissociate global JavaScript variables from the user's session.
</p>
-
+ </s4>
+ <s4 title="load">
<p><em>Function</em> <code>load([String] uri)</code></p>
<p>
Load the JavaScript script specified by <code>uri</code>. The Cocoon
1.3 +5 -5
cocoon-2.1/src/documentation/xdocs/userdocs/flow/velocity.xml
Index: velocity.xml
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/documentation/xdocs/userdocs/flow/velocity.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- velocity.xml 24 May 2003 19:22:38 -0000 1.2
+++ velocity.xml 25 May 2003 01:05:22 -0000 1.3
@@ -31,19 +31,19 @@
the Velocity context:
<p>
<dl>
-<dt><code>request</code>
(<code>org.apache.cocoon.environment.Request</code>)</dt>
+<dt><code>$request</code>
(<code>org.apache.cocoon.environment.Request</code>)</dt>
<dd>The current Cocoon request</dd>
-<dt><code>response</code>
(<code>org.apache.cocoon.environment.Response</code>)</dt>
+<dt><code>$response</code>
(<code>org.apache.cocoon.environment.Response</code>)</dt>
<dd>The Cocoon response associated with the current request</dd>
-<dt><code>session</code>
(<code>org.apache.cocoon.environment.Session</code>)</dt>
+<dt><code>$session</code>
(<code>org.apache.cocoon.environment.Session</code>)</dt>
<dd>The Cocoon session associated with the current request</dd>
-<dt><code>context</code>
(<code>org.apache.cocoon.environment.Context</code>)</dt>
+<dt><code>$context</code>
(<code>org.apache.cocoon.environment.Context</code>)</dt>
<dd>The Cocoon context associated with the current request</dd>
-<dt><code>parameters</code>
(<code>org.apache.avalon.framework.parameters.Parameters</code>)</dt>
+<dt><code>$parameters</code>
(<code>org.apache.avalon.framework.parameters.Parameters</code>)</dt>
<dd>Any parameters passed to the generator in the pipeline</dd>
</dl>
</p>