You are viewing a plain text version of this content. The canonical link for it is here.
Posted to websh-cvs@tcl.apache.org by ro...@apache.org on 2003/02/28 20:00:38 UTC
cvs commit: tcl-websh/doc quickref.xml
ronnie 2003/02/28 11:00:38
Modified: doc quickref.xml
Log:
- minor fixes web::request, web::cmdurlcfg
Revision Changes Path
1.55 +15 -12 tcl-websh/doc/quickref.xml
Index: quickref.xml
===================================================================
RCS file: /home/cvs/tcl-websh/doc/quickref.xml,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- quickref.xml 22 Nov 2002 16:45:43 -0000 1.54
+++ quickref.xml 28 Feb 2003 19:00:37 -0000 1.55
@@ -364,7 +364,7 @@
<para>
<cmdsynopsis>
<command>web::cmdurlcfg</command>
- <arg choice="opt"><replaceable>options</replaceable></arg>
+ <arg choice="opt"><replaceable>option</replaceable></arg>
<arg choice="opt"><replaceable>key</replaceable></arg>
<arg choice="opt"><replaceable>value</replaceable></arg>
</cmdsynopsis>
@@ -402,10 +402,13 @@
<section id="management_of_static_parameters">
<title>Management of static parameters</title>
<para>
-
- In order to set, retrieve, append or unset static parameters,
- use the syntax of the <command>web::param</command> command,
- for example:
+ In addition to the easy way of tracking parameters using
+ <command>web::dispatch -track ...</command>, specific values
+ for parameters can be set using <command>web::cmdurlcfg</command>:
+
+ In order to explicitly set, retrieve, append or unset static
+ parameters, use the syntax of the <command>web::param</command>
+ command, for example:
<variablelist>
<varlistentry>
<term><command>web::cmdurlcfg</command> -set
@@ -418,7 +421,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><command>web::cmdurlcfg</command></term>
+ <term><command>web::cmdurlcfg</command> -names</term>
<listitem>
<para>
returns a list of all known static parameters.
@@ -766,7 +769,7 @@
<variablelist>
<varlistentry>
- <term><command>web::request</command></term>
+ <term><command>web::request</command> <option>-names</option></term>
<listitem>
<para>
returns a list of all known keys.
@@ -815,8 +818,8 @@
<listitem>
<para>
adds the parameter <option>key</option> to the
- web::request data. Any existing parameters with
- <option>key</option> are overwritten.
+ <command>web::request</command> data. Any existing parameters
+ with <option>key</option> are overwritten.
</para>
</listitem>
</varlistentry>
@@ -887,7 +890,7 @@
<cmdsynopsis>
<command>web::param</command>
- <arg choice="opt"><replaceable>options</replaceable></arg>
+ <arg choice="opt"><replaceable>option</replaceable></arg>
<arg choice="opt"><replaceable>key</replaceable></arg>
<arg choice="opt"><replaceable>value</replaceable></arg>
<arg choice="opt"><replaceable>...</replaceable></arg>
---------------------------------------------------------------------
To unsubscribe, e-mail: websh-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: websh-cvs-help@tcl.apache.org