Update of /cvsroot/webware/Webware/MiscUtils/Docs
In directory sc8-pr-cvs1:/tmp/cvs-serv8381/Docs
Modified Files:
RelNotes-0.8.html
Log Message:
Added function Configurable.commandLineSetting
Index: RelNotes-0.8.html
===================================================================
RCS file: /cvsroot/webware/Webware/MiscUtils/Docs/RelNotes-0.8.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** RelNotes-0.8.html 10 Dec 2002 09:06:10 -0000 1.5
--- RelNotes-0.8.html 12 Dec 2002 05:17:13 -0000 1.6
***************
*** 42,45 ****
--- 42,51 ----
</dl>
+ <p> New functions in <span class=name>Configurable</span>
+ <dl>
+ <dt><span class=name>commandLineSetting(configName, settingName, default=NoDefault)</span></dt>
+ <dd>Accesses the values of settings passed through <span class=name>addCommandLineSetting</span>. Typically, you would use it by calling AppServer like <tt>./AppServer --Context.Root=/WK</tt> -- where <tt>Context</tt> is not necessarily the name of a configurable class. Other classes can use this setting to retrieve <tt>"/WK"</tt>, like <tt>Configurable.commandLineSetting("Context", "Root")</tt>.</dd>
+ </dl>
+
<p><hr>
|