Author: keith
Date: Thu Feb 28 10:10:12 2008
New Revision: 14321
Log:
Fixing documentation for system.localHostName
Modified:
trunk/mashup/java/xdocs/systemhostobject.html
Modified: trunk/mashup/java/xdocs/systemhostobject.html
==============================================================================
--- trunk/mashup/java/xdocs/systemhostobject.html (original)
+++ trunk/mashup/java/xdocs/systemhostobject.html Thu Feb 28 10:10:12 2008
@@ -14,14 +14,14 @@
utility functions. No explicit instantiation is necessary.</p>
<h3>1.1 Example</h3>
<div class="code">
-<pre>system.include("concatscript.js");<br>function add(first, last) {<br>
print(system.localhostname);<br> //waits for 1 second<br>
system.wait(1000);<br> // concat is a function in the included concatscript.js
javascript<br> return concat(first,last);<br>}</pre>
+<pre>system.include("concatscript.js");<br>function add(first, last) {<br>
print(system.localHostName);<br> //waits for 1 second<br>
system.wait(1000);<br> // concat is a function in the included concatscript.js
javascript<br> return concat(first,last);<br>}</pre>
</div>
<h3>2.0 System Object</h3>
<h3>2.1 System Object Interface</h3>
<p>{<br>
function void include(string[] scriptPath);<br>
function void wait([optional int time]);<br>
- readonly property string localhostname;<br>
+ readonly property string localHostName;<br>
function uuid setInterval(<span
style="font-family: verdana; font-weight: normal;">String
javascriptCode/Function javascriptFunctionName</span><span
@@ -70,10 +70,10 @@
<td> 0.1</td>
</tr>
<tr>
- <td><b>readonly property string localhostname;</b> </td>
+ <td><b>readonly property string localHostName;</b> </td>
<td> Gets the string defining the hostname of the
system. <br clear="all">
- <em>var hostname = system.localhostname;</em></td>
+ <em>var hostname = system.localHostName;</em></td>
<td> 0.1</td>
</tr>
<tr>
_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev