You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by mr...@apache.org on 2005/05/01 00:34:46 UTC

svn commit: r165427 - in /struts/core/trunk/doc/flow: CollectionExtensions.xml FileExtensions.xml InputStreamExtensions.xml JSFlow.xml JSLog.xml ListExtensions.xml Struts.xml extensions.xml index.xml project.xml system.xml

Author: mrdon
Date: Sat Apr 30 15:34:45 2005
New Revision: 165427

URL: http://svn.apache.org/viewcvs?rev=165427&view=rev
Log:
 * Adding generated Struts Flow docs
 * Updating home page and adding new left menu

Added:
    struts/core/trunk/doc/flow/CollectionExtensions.xml
    struts/core/trunk/doc/flow/FileExtensions.xml
    struts/core/trunk/doc/flow/InputStreamExtensions.xml
    struts/core/trunk/doc/flow/JSFlow.xml   (with props)
    struts/core/trunk/doc/flow/JSLog.xml   (with props)
    struts/core/trunk/doc/flow/ListExtensions.xml
    struts/core/trunk/doc/flow/Struts.xml
Removed:
    struts/core/trunk/doc/flow/extensions.xml
Modified:
    struts/core/trunk/doc/flow/index.xml
    struts/core/trunk/doc/flow/project.xml
    struts/core/trunk/doc/flow/system.xml

Added: struts/core/trunk/doc/flow/CollectionExtensions.xml
URL: http://svn.apache.org/viewcvs/struts/core/trunk/doc/flow/CollectionExtensions.xml?rev=165427&view=auto
==============================================================================
--- struts/core/trunk/doc/flow/CollectionExtensions.xml (added)
+++ struts/core/trunk/doc/flow/CollectionExtensions.xml Sat Apr 30 15:34:45 2005
@@ -0,0 +1,125 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document url="CollectionExtensions.html">
+<!--
+    WARNING: This file is automatically generated from a jsdoc processor that
+    turns javadoc-type comments of Javascript and special Java files into an xml file, which is
+    then processed by an xsl file to create this document. Do not modify this
+    file, but rather either modify the comments or xsl file.
+  -->
+<properties>
+<title>java.util.Collection Extensions</title>
+</properties>
+<body>
+<section href="summary" name="java.util.Collection Extensions">
+<p>Adds various function extensions to java.util.List implementations.</p>
+<dl/>
+<table width="100%">
+<tr>
+<th colspan="2">Property Summary</th>
+</tr>
+<tr>
+<td width="5%">
+<code>int</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#prop_length">length</a>
+</code>
+</strong>
+<dd>Provides the current size of the collection.</dd>
+</td>
+</tr>
+</table>
+<br/>
+<table width="100%">
+<tr>
+<th colspan="2">Function Summary</th>
+</tr>
+<tr>
+<td width="5%">
+<code>void</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_each">each(Function func)</a>
+</code>
+</strong>
+<dd>Iterates through the collection and for each element, calls the passed function with the element as the parameter.</dd>
+</td>
+</tr>
+<tr>
+<td width="5%">
+<code>Object</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_find">find(Function func)</a>
+</code>
+</strong>
+<dd>Finds the first item selected by the passed function.</dd>
+</td>
+</tr>
+<tr>
+<td width="5%">
+<code>java.util.List</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_findAll">findAll(Function func)</a>
+</code>
+</strong>
+<dd>Finds all items selected by the passed function.</dd>
+</td>
+</tr>
+</table>
+</section>
+<section name="Properties">
+<section href="prop_length" name="length">
+<pre>int length</pre>
+<p>Provides the current size of the collection. Alternative to the size() method to be more consistent with Javascript arrays.</p>
+</section>
+</section>
+<section name="Functions">
+<section href="fn_each" name="each">
+<pre>void each(Function func)</pre>
+<p>Iterates through the collection and for each element, calls the passed function with the element as the parameter.</p>
+<dl>
+<dt>
+<strong>Example: </strong>
+</dt>
+<dd>
+<pre>list.each(function(item) { print(item) })</pre>
+</dd>
+</dl>
+</section>
+<section href="fn_find" name="find">
+<pre>Object find(Function func)</pre>
+<p>Finds the first item selected by the passed function. The function will receive the item and should return true or false for the result.</p>
+<dl>
+<dt>
+<strong>Example: </strong>
+</dt>
+<dd>
+<pre>item = list.find(function(item) { return item.matches(/foo[0-9]/) })</pre>
+</dd>
+</dl>
+</section>
+<section href="fn_findAll" name="findAll">
+<pre>java.util.List findAll(Function func)</pre>
+<p>Finds all items selected by the passed function. The function will receive the item and should return true or false for the result. A list of all matches will be returned.</p>
+<dl>
+<dt>
+<strong>Example: </strong>
+</dt>
+<dd>
+<pre>matches = list.findAll(function(item) { return item.matches(/foo[0-9]/) })</pre>
+</dd>
+</dl>
+</section>
+</section>
+</body>
+</document>

Added: struts/core/trunk/doc/flow/FileExtensions.xml
URL: http://svn.apache.org/viewcvs/struts/core/trunk/doc/flow/FileExtensions.xml?rev=165427&view=auto
==============================================================================
--- struts/core/trunk/doc/flow/FileExtensions.xml (added)
+++ struts/core/trunk/doc/flow/FileExtensions.xml Sat Apr 30 15:34:45 2005
@@ -0,0 +1,150 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document url="FileExtensions.html">
+<!--
+    WARNING: This file is automatically generated from a jsdoc processor that
+    turns javadoc-type comments of Javascript and special Java files into an xml file, which is
+    then processed by an xsl file to create this document. Do not modify this
+    file, but rather either modify the comments or xsl file.
+  -->
+<properties>
+<title>java.io.File Extensions</title>
+</properties>
+<body>
+<section href="summary" name="java.io.File Extensions">
+<p>Adds various functions to java.io.File</p>
+<dl/>
+<table width="100%">
+<tr>
+<th colspan="2">Function Summary</th>
+</tr>
+<tr>
+<td width="5%">
+<code>java.io.File</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_append">append(String text)</a>
+</code>
+</strong>
+<dd>Appends text to the file.</dd>
+</td>
+</tr>
+<tr>
+<td width="5%">
+<code>String</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_getText">getText()</a>
+</code>
+</strong>
+<dd>Gets the contents of the file as a String.</dd>
+</td>
+</tr>
+<tr>
+<td width="5%">
+<code>void</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_eachLine">eachLine(Function func)</a>
+</code>
+</strong>
+<dd>Passes each line to the provided function.</dd>
+</td>
+</tr>
+<tr>
+<td width="5%">
+<code>String[]</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_getLines">getLines()</a>
+</code>
+</strong>
+<dd>Collects the contents of the file as an array of lines.</dd>
+</td>
+</tr>
+<tr>
+<td width="5%">
+<code>boolean</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_remove">remove()</a>
+</code>
+</strong>
+<dd>Removes a file.</dd>
+</td>
+</tr>
+</table>
+</section>
+<section name="Functions">
+<section href="fn_append" name="append">
+<pre>java.io.File append(String text)</pre>
+<p>Appends text to the file.</p>
+<dl>
+<dt>
+<strong>Example: </strong>
+</dt>
+<dd>
+<pre>file.append("added text")</pre>
+</dd>
+</dl>
+</section>
+<section href="fn_getText" name="getText">
+<pre>String getText()</pre>
+<p>Gets the contents of the file as a String.</p>
+<dl>
+<dt>
+<strong>Example: </strong>
+</dt>
+<dd>
+<pre>text = file.getText()</pre>
+</dd>
+</dl>
+</section>
+<section href="fn_eachLine" name="eachLine">
+<pre>void eachLine(Function func)</pre>
+<p>Passes each line to the provided function. The file is opened, and interpreted as a text file using the default encoding. Each line is read and passed to the provided function.</p>
+<dl>
+<dt>
+<strong>Example: </strong>
+</dt>
+<dd>
+<pre>file.eachLine(function(line) { print(line) })</pre>
+</dd>
+</dl>
+</section>
+<section href="fn_getLines" name="getLines">
+<pre>String[] getLines()</pre>
+<p>Collects the contents of the file as an array of lines. The file is opened, and interpreted as a text file using the default encoding.</p>
+<dl>
+<dt>
+<strong>Example: </strong>
+</dt>
+<dd>
+<pre>linesArray = file.getLines()</pre>
+</dd>
+</dl>
+</section>
+<section href="fn_remove" name="remove">
+<pre>boolean remove()</pre>
+<p>Removes a file. Used to get around the problem of the reserved word 'delete'.</p>
+<dl>
+<dt>
+<strong>Example: </strong>
+</dt>
+<dd>
+<pre>isRemoved = file.remove()</pre>
+</dd>
+</dl>
+</section>
+</section>
+</body>
+</document>

Added: struts/core/trunk/doc/flow/InputStreamExtensions.xml
URL: http://svn.apache.org/viewcvs/struts/core/trunk/doc/flow/InputStreamExtensions.xml?rev=165427&view=auto
==============================================================================
--- struts/core/trunk/doc/flow/InputStreamExtensions.xml (added)
+++ struts/core/trunk/doc/flow/InputStreamExtensions.xml Sat Apr 30 15:34:45 2005
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document url="InputStreamExtensions.html">
+<!--
+    WARNING: This file is automatically generated from a jsdoc processor that
+    turns javadoc-type comments of Javascript and special Java files into an xml file, which is
+    then processed by an xsl file to create this document. Do not modify this
+    file, but rather either modify the comments or xsl file.
+  -->
+<properties>
+<title>java.io.InputStream Extensions</title>
+</properties>
+<body>
+<section href="summary" name="java.io.InputStream Extensions">
+<p>Adds various functions to java.io.InputStream</p>
+<dl/>
+<table width="100%">
+<tr>
+<th colspan="2">Function Summary</th>
+</tr>
+<tr>
+<td width="5%">
+<code>String</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_getText">getText()</a>
+</code>
+</strong>
+<dd>Gets the contents of the stream as a String.</dd>
+</td>
+</tr>
+</table>
+</section>
+<section name="Functions">
+<section href="fn_getText" name="getText">
+<pre>String getText()</pre>
+<p>Gets the contents of the stream as a String.</p>
+<dl>
+<dt>
+<strong>Example: </strong>
+</dt>
+<dd>
+<pre>text = inStream.getText()</pre>
+</dd>
+</dl>
+</section>
+</section>
+</body>
+</document>

Added: struts/core/trunk/doc/flow/JSFlow.xml
URL: http://svn.apache.org/viewcvs/struts/core/trunk/doc/flow/JSFlow.xml?rev=165427&view=auto
==============================================================================
--- struts/core/trunk/doc/flow/JSFlow.xml (added)
+++ struts/core/trunk/doc/flow/JSFlow.xml Sat Apr 30 15:34:45 2005
@@ -0,0 +1,265 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document url="JSFlow.html">
+<!--
+    WARNING: This file is automatically generated from a jsdoc processor that
+    turns javadoc-type comments of Javascript and special Java files into an xml file, which is
+    then processed by an xsl file to create this document. Do not modify this
+    file, but rather either modify the comments or xsl file.
+  -->
+<properties>
+<title>Variable 'flow'</title>
+</properties>
+<body>
+<section href="summary" name="Variable 'flow'">
+<p>This variable provides an interface to the chain context and other helpful objects. The primary way to pass information into a script is through the chain context. All interactions with the outside environment is through Commons Chain to help Struts Flow to work in a Servlet, Java Service Faces, Portlet, or any other external context, even if that context isn't web-based. This variable specifically doesn't contain any Struts-related methods to allow Struts Flow to be used outside Struts.</p>
+<dl>
+<dt>
+<strong>Author: </strong>
+</dt>
+<dd><a href="mailto:ovidiu@cup.hp.com">Ovidiu Predescu</a></dd>
+<dt>
+<strong>Author: </strong>
+</dt>
+<dd><a href="snoopdave@users.sourceforge.net">Dave Johnson</a></dd>
+<dt>
+<strong>See Also: </strong>
+</dt>
+<dd><a href="http://jakarta.apache.org/commons/chain">Jakarta Commons Chain</a></dd>
+</dl>
+<table width="100%">
+<tr>
+<th colspan="2">Property Summary</th>
+</tr>
+<tr>
+<td width="5%">
+<code>NativeArray</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#prop_parameters">parameters</a>
+</code>
+</strong>
+<dd>Gets the parameters passed by the Flow container</dd>
+</td>
+</tr>
+<tr>
+<td width="5%">
+<code>JavaScriptInterpreter</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#prop_interpreter">interpreter</a>
+</code>
+</strong>
+<dd>Gets the interpreter</dd>
+</td>
+</tr>
+<tr>
+<td width="5%">
+<code>Context</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#prop_context">context</a>
+</code>
+</strong>
+<dd>Gets the chain context</dd>
+</td>
+</tr>
+</table>
+<br/>
+<table width="100%">
+<tr>
+<th colspan="2">Function Summary</th>
+</tr>
+<tr>
+<td width="5%">
+<code>Object</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_load">load(java.lang.String filename)</a>
+</code>
+</strong>
+<dd>Load the script file specified as argument.</dd>
+</td>
+</tr>
+<tr>
+<td width="5%">
+<code>Object</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_resolveToPath">resolveToPath(java.lang.String filename)</a>
+</code>
+</strong>
+<dd/>
+</td>
+</tr>
+<tr>
+<td width="5%">
+<code>String</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_toString">toString()</a>
+</code>
+</strong>
+<dd>Shows the state of this object</dd>
+</td>
+</tr>
+<tr>
+<td width="5%">
+<code>void</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_diplayAllContinuations">diplayAllContinuations()</a>
+</code>
+</strong>
+<dd>Displays all continuations for debugging</dd>
+</td>
+</tr>
+<tr>
+<td width="5%">
+<code>Map</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_jsobjectToMap">jsobjectToMap(org.mozilla.javascript.Scriptable jsobject)</a>
+</code>
+</strong>
+<dd>Converts a JavaScript object to a HashMap</dd>
+</td>
+</tr>
+<tr>
+<td width="5%">
+<code>Object</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_get">get(java.lang.String id)</a>
+</code>
+</strong>
+<dd>Gets the value from the chain context</dd>
+</td>
+</tr>
+<tr>
+<td width="5%">
+<code>void</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_put">put(java.lang.String id, java.lang.Object o)</a>
+</code>
+</strong>
+<dd>Puts an object in the chain context</dd>
+</td>
+</tr>
+</table>
+</section>
+<section name="Properties">
+<section href="prop_parameters" name="parameters">
+<pre>NativeArray parameters</pre>
+<p>Gets the parameters passed by the Flow container</p>
+</section>
+<section href="prop_interpreter" name="interpreter">
+<pre>JavaScriptInterpreter interpreter</pre>
+<p>Gets the interpreter</p>
+</section>
+<section href="prop_context" name="context">
+<pre>Context context</pre>
+<p>Gets the chain context</p>
+</section>
+</section>
+<section name="Functions">
+<section href="fn_load" name="load">
+<pre>Object load(java.lang.String filename)</pre>
+<p>Load the script file specified as argument. The path is resolved from the same root as the calling script.</p>
+<dl>
+<dt>
+<strong>Parameters:</strong>
+</dt>
+<dd>
+<code>filename</code> - 
+                a <code>String</code> value</dd>
+</dl>
+<dl>
+<dt>
+<strong>Returns: </strong>
+</dt>
+<dd>an <code>Object</code> value</dd>
+</dl>
+</section>
+<section href="fn_resolveToPath" name="resolveToPath">
+<pre>Object resolveToPath(java.lang.String filename)</pre>
+<p/>
+<dl/>
+</section>
+<section href="fn_toString" name="toString">
+<pre>String toString()</pre>
+<p>Shows the state of this object</p>
+<dl>
+<dt>
+<strong>Returns: </strong>
+</dt>
+<dd>The string state</dd>
+</dl>
+</section>
+<section href="fn_diplayAllContinuations" name="diplayAllContinuations">
+<pre>void diplayAllContinuations()</pre>
+<p>Displays all continuations for debugging</p>
+<dl/>
+</section>
+<section href="fn_jsobjectToMap" name="jsobjectToMap">
+<pre>Map jsobjectToMap(org.mozilla.javascript.Scriptable jsobject)</pre>
+<p>Converts a JavaScript object to a HashMap</p>
+<dl/>
+</section>
+<section href="fn_get" name="get">
+<pre>Object get(java.lang.String id)</pre>
+<p>Gets the value from the chain context</p>
+<dl>
+<dt>
+<strong>Parameters:</strong>
+</dt>
+<dd>
+<code>id</code> - 
+                The object id</dd>
+</dl>
+<dl>
+<dt>
+<strong>Returns: </strong>
+</dt>
+<dd>The object</dd>
+</dl>
+</section>
+<section href="fn_put" name="put">
+<pre>void put(java.lang.String id, java.lang.Object o)</pre>
+<p>Puts an object in the chain context</p>
+<dl>
+<dt>
+<strong>Parameters:</strong>
+</dt>
+<dd>
+<code>id</code> - 
+                The id</dd>
+<dd>
+<code>o</code> - 
+                The object</dd>
+</dl>
+<dl/>
+</section>
+</section>
+</body>
+</document>

Propchange: struts/core/trunk/doc/flow/JSFlow.xml
------------------------------------------------------------------------------
    svn:executable = *

Added: struts/core/trunk/doc/flow/JSLog.xml
URL: http://svn.apache.org/viewcvs/struts/core/trunk/doc/flow/JSLog.xml?rev=165427&view=auto
==============================================================================
--- struts/core/trunk/doc/flow/JSLog.xml (added)
+++ struts/core/trunk/doc/flow/JSLog.xml Sat Apr 30 15:34:45 2005
@@ -0,0 +1,129 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document url="JSLog.html">
+<!--
+    WARNING: This file is automatically generated from a jsdoc processor that
+    turns javadoc-type comments of Javascript and special Java files into an xml file, which is
+    then processed by an xsl file to create this document. Do not modify this
+    file, but rather either modify the comments or xsl file.
+  -->
+<properties>
+<title>Variable 'log'</title>
+</properties>
+<body>
+<section href="summary" name="Variable 'log'">
+<p>JavaScript interface to the log facility.</p>
+<dl/>
+<table width="100%">
+<tr>
+<th colspan="2">Function Summary</th>
+</tr>
+<tr>
+<td width="5%">
+<code>void</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_debug">debug(java.lang.String message)</a>
+</code>
+</strong>
+<dd>Logs a debug message</dd>
+</td>
+</tr>
+<tr>
+<td width="5%">
+<code>void</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_info">info(java.lang.String message)</a>
+</code>
+</strong>
+<dd>Logs an info message</dd>
+</td>
+</tr>
+<tr>
+<td width="5%">
+<code>void</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_warn">warn(java.lang.String message)</a>
+</code>
+</strong>
+<dd>Logs a warn message</dd>
+</td>
+</tr>
+<tr>
+<td width="5%">
+<code>void</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_error">error(java.lang.String message)</a>
+</code>
+</strong>
+<dd>Logs an error message</dd>
+</td>
+</tr>
+</table>
+</section>
+<section name="Functions">
+<section href="fn_debug" name="debug">
+<pre>void debug(java.lang.String message)</pre>
+<p>Logs a debug message</p>
+<dl>
+<dt>
+<strong>Parameters:</strong>
+</dt>
+<dd>
+<code>message</code> - 
+                Description of the Parameter</dd>
+</dl>
+<dl/>
+</section>
+<section href="fn_info" name="info">
+<pre>void info(java.lang.String message)</pre>
+<p>Logs an info message</p>
+<dl>
+<dt>
+<strong>Parameters:</strong>
+</dt>
+<dd>
+<code>message</code> - 
+                Description of the Parameter</dd>
+</dl>
+<dl/>
+</section>
+<section href="fn_warn" name="warn">
+<pre>void warn(java.lang.String message)</pre>
+<p>Logs a warn message</p>
+<dl>
+<dt>
+<strong>Parameters:</strong>
+</dt>
+<dd>
+<code>message</code> - 
+                Description of the Parameter</dd>
+</dl>
+<dl/>
+</section>
+<section href="fn_error" name="error">
+<pre>void error(java.lang.String message)</pre>
+<p>Logs an error message</p>
+<dl>
+<dt>
+<strong>Parameters:</strong>
+</dt>
+<dd>
+<code>message</code> - 
+                Description of the Parameter</dd>
+</dl>
+<dl/>
+</section>
+</section>
+</body>
+</document>

Propchange: struts/core/trunk/doc/flow/JSLog.xml
------------------------------------------------------------------------------
    svn:executable = *

Added: struts/core/trunk/doc/flow/ListExtensions.xml
URL: http://svn.apache.org/viewcvs/struts/core/trunk/doc/flow/ListExtensions.xml?rev=165427&view=auto
==============================================================================
--- struts/core/trunk/doc/flow/ListExtensions.xml (added)
+++ struts/core/trunk/doc/flow/ListExtensions.xml Sat Apr 30 15:34:45 2005
@@ -0,0 +1,150 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document url="ListExtensions.html">
+<!--
+    WARNING: This file is automatically generated from a jsdoc processor that
+    turns javadoc-type comments of Javascript and special Java files into an xml file, which is
+    then processed by an xsl file to create this document. Do not modify this
+    file, but rather either modify the comments or xsl file.
+  -->
+<properties>
+<title>java.util.List Extensions</title>
+</properties>
+<body>
+<section href="summary" name="java.util.List Extensions">
+<p>Adds various function extensions to java.util.List implementations.</p>
+<dl/>
+<table width="100%">
+<tr>
+<th colspan="2">Function Summary</th>
+</tr>
+<tr>
+<td width="5%">
+<code>java.util.List</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_asImmutable">asImmutable()</a>
+</code>
+</strong>
+<dd>Returns an immutable version of this list.</dd>
+</td>
+</tr>
+<tr>
+<td width="5%">
+<code>java.util.List</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_asSynchronized">asSynchronized()</a>
+</code>
+</strong>
+<dd>Returns a synchronized version of this list.</dd>
+</td>
+</tr>
+<tr>
+<td width="5%">
+<code>Object</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_pop">pop()</a>
+</code>
+</strong>
+<dd>Pops the last item off the list.</dd>
+</td>
+</tr>
+<tr>
+<td width="5%">
+<code>java.util.List</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_sort">sort()</a>
+</code>
+</strong>
+<dd>Sorts the list according to the natural order.</dd>
+</td>
+</tr>
+<tr>
+<td width="5%">
+<code>java.util.List</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_sortEach">sortEach(Function func)</a>
+</code>
+</strong>
+<dd>Sorts the list using the passed function to determine order.</dd>
+</td>
+</tr>
+</table>
+</section>
+<section name="Functions">
+<section href="fn_asImmutable" name="asImmutable">
+<pre>java.util.List asImmutable()</pre>
+<p>Returns an immutable version of this list.</p>
+<dl>
+<dt>
+<strong>Example: </strong>
+</dt>
+<dd>
+<pre>frozenList = list.asImmutable()</pre>
+</dd>
+</dl>
+</section>
+<section href="fn_asSynchronized" name="asSynchronized">
+<pre>java.util.List asSynchronized()</pre>
+<p>Returns a synchronized version of this list.</p>
+<dl>
+<dt>
+<strong>Example: </strong>
+</dt>
+<dd>
+<pre>multiThreadList = list.asSynchronized()</pre>
+</dd>
+</dl>
+</section>
+<section href="fn_pop" name="pop">
+<pre>Object pop()</pre>
+<p>Pops the last item off the list. The last item will be returned and removed from the list.</p>
+<dl>
+<dt>
+<strong>Example: </strong>
+</dt>
+<dd>
+<pre>lastItem = list.pop()</pre>
+</dd>
+</dl>
+</section>
+<section href="fn_sort" name="sort">
+<pre>java.util.List sort()</pre>
+<p>Sorts the list according to the natural order.</p>
+<dl>
+<dt>
+<strong>Example: </strong>
+</dt>
+<dd>
+<pre>sortedList = list.sort()</pre>
+</dd>
+</dl>
+</section>
+<section href="fn_sortEach" name="sortEach">
+<pre>java.util.List sortEach(Function func)</pre>
+<p>Sorts the list using the passed function to determine order. The function will receive two parameters, and should return &gt; 0 if the first is greater, &lt; 0 if the first is less, and 0 if equal.</p>
+<dl>
+<dt>
+<strong>Example: </strong>
+</dt>
+<dd>
+<pre>sortedList = list.sort(function(val1, val2) { return val1.compareTo(val2) })</pre>
+</dd>
+</dl>
+</section>
+</section>
+</body>
+</document>

Added: struts/core/trunk/doc/flow/Struts.xml
URL: http://svn.apache.org/viewcvs/struts/core/trunk/doc/flow/Struts.xml?rev=165427&view=auto
==============================================================================
--- struts/core/trunk/doc/flow/Struts.xml (added)
+++ struts/core/trunk/doc/flow/Struts.xml Sat Apr 30 15:34:45 2005
@@ -0,0 +1,319 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document url="Struts.html">
+<!--
+    WARNING: This file is automatically generated from a jsdoc processor that
+    turns javadoc-type comments of Javascript and special Java files into an xml file, which is
+    then processed by an xsl file to create this document. Do not modify this
+    file, but rather either modify the comments or xsl file.
+  -->
+<properties>
+<title>Variable 'struts'</title>
+</properties>
+<body>
+<section href="summary" name="Variable 'struts'">
+<p>Access to Struts and Servlet resources</p>
+<dl/>
+<table width="100%">
+<tr>
+<th colspan="2">Function Summary</th>
+</tr>
+<tr>
+<td width="5%">
+<code>Map</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_getParam">getParam()</a>
+</code>
+</strong>
+<dd>Gets a map of request parameters as Strings</dd>
+</td>
+</tr>
+<tr>
+<td width="5%">
+<code>Map</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_getParamValues">getParamValues()</a>
+</code>
+</strong>
+<dd>Gets a map of request parameters as String arrays</dd>
+</td>
+</tr>
+<tr>
+<td width="5%">
+<code>Map</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_getRequestScope">getRequestScope()</a>
+</code>
+</strong>
+<dd>Gets a map of request attributes</dd>
+</td>
+</tr>
+<tr>
+<td width="5%">
+<code>Map</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_getSessionScope">getSessionScope()</a>
+</code>
+</strong>
+<dd>Gets a map of session attributes</dd>
+</td>
+</tr>
+<tr>
+<td width="5%">
+<code>Map</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_getApplicationScope">getApplicationScope()</a>
+</code>
+</strong>
+<dd>Gets a map of application attributes</dd>
+</td>
+</tr>
+<tr>
+<td width="5%">
+<code>ServletRequest</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_getRequest">getRequest()</a>
+</code>
+</strong>
+<dd>Gets the servlet request</dd>
+</td>
+</tr>
+<tr>
+<td width="5%">
+<code>ServletContext</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_getServletContext">getServletContext()</a>
+</code>
+</strong>
+<dd>Gets the servlet context</dd>
+</td>
+</tr>
+<tr>
+<td width="5%">
+<code>String</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_getMessage">getMessage(java.lang.String key)</a>
+</code>
+</strong>
+<dd>Gets an application resources message</dd>
+</td>
+</tr>
+<tr>
+<td width="5%">
+<code>ActionMapping</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_getMapping">getMapping()</a>
+</code>
+</strong>
+<dd>Gets the action mapping</dd>
+</td>
+</tr>
+<tr>
+<td width="5%">
+<code>boolean</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_isCanceled">isCanceled()</a>
+</code>
+</strong>
+<dd>Gets if the action has been canceled</dd>
+</td>
+</tr>
+<tr>
+<td width="5%">
+<code>boolean</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_isTokenValid">isTokenValid()</a>
+</code>
+</strong>
+<dd>Gets if the current token is valid</dd>
+</td>
+</tr>
+<tr>
+<td width="5%">
+<code>void</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_resetToken">resetToken()</a>
+</code>
+</strong>
+<dd>Resets the current transation token</dd>
+</td>
+</tr>
+<tr>
+<td width="5%">
+<code>void</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_saveErrors">saveErrors(org.apache.struts.action.ActionErrors errors)</a>
+</code>
+</strong>
+<dd>Saves the action errors in the request</dd>
+</td>
+</tr>
+<tr>
+<td width="5%">
+<code>void</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_saveMessages">saveMessages(org.apache.struts.action.ActionMessages msgs)</a>
+</code>
+</strong>
+<dd>Saves the action messages in the request</dd>
+</td>
+</tr>
+<tr>
+<td width="5%">
+<code>void</code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_saveToken">saveToken()</a>
+</code>
+</strong>
+<dd>Saves a transaction token in the request</dd>
+</td>
+</tr>
+</table>
+</section>
+<section name="Functions">
+<section href="fn_getParam" name="getParam">
+<pre>Map getParam()</pre>
+<p>Gets a map of request parameters as Strings</p>
+<dl/>
+</section>
+<section href="fn_getParamValues" name="getParamValues">
+<pre>Map getParamValues()</pre>
+<p>Gets a map of request parameters as String arrays</p>
+<dl/>
+</section>
+<section href="fn_getRequestScope" name="getRequestScope">
+<pre>Map getRequestScope()</pre>
+<p>Gets a map of request attributes</p>
+<dl/>
+</section>
+<section href="fn_getSessionScope" name="getSessionScope">
+<pre>Map getSessionScope()</pre>
+<p>Gets a map of session attributes</p>
+<dl/>
+</section>
+<section href="fn_getApplicationScope" name="getApplicationScope">
+<pre>Map getApplicationScope()</pre>
+<p>Gets a map of application attributes</p>
+<dl/>
+</section>
+<section href="fn_getRequest" name="getRequest">
+<pre>ServletRequest getRequest()</pre>
+<p>Gets the servlet request</p>
+<dl/>
+</section>
+<section href="fn_getServletContext" name="getServletContext">
+<pre>ServletContext getServletContext()</pre>
+<p>Gets the servlet context</p>
+<dl/>
+</section>
+<section href="fn_getMessage" name="getMessage">
+<pre>String getMessage(java.lang.String key)</pre>
+<p>Gets an application resources message</p>
+<dl>
+<dt>
+<strong>Parameters:</strong>
+</dt>
+<dd>
+<code>key</code> - 
+                The message key</dd>
+</dl>
+<dl/>
+</section>
+<section href="fn_getMapping" name="getMapping">
+<pre>ActionMapping getMapping()</pre>
+<p>Gets the action mapping</p>
+<dl/>
+</section>
+<section href="fn_isCanceled" name="isCanceled">
+<pre>boolean isCanceled()</pre>
+<p>Gets if the action has been canceled</p>
+<dl/>
+</section>
+<section href="fn_isTokenValid" name="isTokenValid">
+<pre>boolean isTokenValid()</pre>
+<p>Gets if the current token is valid</p>
+<dl/>
+</section>
+<section href="fn_resetToken" name="resetToken">
+<pre>void resetToken()</pre>
+<p>Resets the current transation token</p>
+<dl/>
+</section>
+<section href="fn_saveErrors" name="saveErrors">
+<pre>void saveErrors(org.apache.struts.action.ActionErrors errors)</pre>
+<p>Saves the action errors in the request</p>
+<dl>
+<dt>
+<strong>Parameters:</strong>
+</dt>
+<dd>
+<code>errors</code> - 
+                The action errors</dd>
+</dl>
+<dl/>
+</section>
+<section href="fn_saveMessages" name="saveMessages">
+<pre>void saveMessages(org.apache.struts.action.ActionMessages msgs)</pre>
+<p>Saves the action messages in the request</p>
+<dl>
+<dt>
+<strong>Parameters:</strong>
+</dt>
+<dd>
+<code>msgs</code> - 
+                The action messages</dd>
+</dl>
+<dl/>
+</section>
+<section href="fn_saveToken" name="saveToken">
+<pre>void saveToken()</pre>
+<p>Saves a transaction token in the request</p>
+<dl/>
+</section>
+</section>
+</body>
+</document>

Modified: struts/core/trunk/doc/flow/index.xml
URL: http://svn.apache.org/viewcvs/struts/core/trunk/doc/flow/index.xml?rev=165427&r1=165426&r2=165427&view=diff
==============================================================================
--- struts/core/trunk/doc/flow/index.xml (original)
+++ struts/core/trunk/doc/flow/index.xml Sat Apr 30 15:34:45 2005
@@ -9,9 +9,11 @@
 
     <section name="Struts Flow" href="overview">
       <p>
-Struts Flow is a port of <a href="http://cocoon.apache.org">Cocoon's</a> <a href="http://cocoon.apache.org/2.1/userdocs/flow/index.html">Control Flow</a> to Struts to allow
-complex workflow, like multi-form wizards, to be easily implemented using continuations-capable
-JavaScript.  It provides the ability to describe the order of Web pages that have to be sent to the client, at any given point in time in an application.  The flow scripts fulfill the role of Struts Actions, however, they can be used along side traditional Java-based Struts Actions.
+Struts Flow is a port of <a href="http://cocoon.apache.org">Cocoon's</a> <a
+href="http://cocoon.apache.org/2.1/userdocs/flow/index.html">Control Flow</a> to Struts to allow complex workflow, like
+multi-form wizards, to be easily implemented using continuations-capable JavaScript. It provides the ability to describe
+the order of Web pages that have to be sent to the client, at any given point in time in an application. The flow
+scripts fulfill the role of Struts Actions, however, they can be used along side traditional Java-based Struts Actions.
 
         </p>
         <p>This is an example of a Struts Flow server-side script which logs the user on to an application:
@@ -31,7 +33,9 @@
   }
 }  
         </pre>
-        The <code>forwardAndWait()</code> method sends an HTML page to the user and waits for a response.  When the form is submitted, Struts Flow restores the variable values and restarts the script where it left off.  There are more detailed examples in the <a href="#examples">Examples</a> section.
+        The <code>forwardAndWait()</code> method sends an HTML page to the user and waits for a response. When the form
+        is submitted, Struts Flow restores the variable values and restarts the script where it left off. There are more
+        detailed examples in the <a href="#examples">Examples</a> section.
         </p>
         <p>
         Since continuations are best implemented in Javascript, Struts Flow also focuses on making Javascript
@@ -64,15 +68,37 @@
               <li>Full access to Struts features</li>
               <li>Can exist side-by-side regular Struts actions</li>
               <li>Ability to run in non-Struts environments (uses Jakarta's Commons-Chain)</li>
-              <li><a href="extensions.html">Enhanced Java API methods</a> and Collections integration</li>
+              <li>Enhanced Java API methods and Collections integration</li>
               <li>Remote RPC support (termed Ajax but with JSON instead of XML) for calling flow methods from the client</li>
               <li>Includes Wizard library to help easily create complex wizards</li> 
               <li>Includes <a href="http://www.trimpath.com/project/wiki/JavaScriptTemplates">Javascript Templates</a> library to replace JSP for a 100% Javascript view layer.</li> 
               <li>Includes number guessing, remote rpc, Javascript Templates, and wizard examples</li> 
             </ul>
       </section>
+      <section name="Documentation and Examples" href="examples">
+        <p>
+          The quickest way to understand how Struts Flow works is to take a look at the examples below, and even to
+          download and run them yourself. Once you have your "hello world" application running, use the "Built-in
+          Resources" section on the left to learn what methods and variables Struts Flow makes available to every
+          script. Finally, Struts Flow enhances the standard Java API by adding methods and properties to many classes
+          to keep your Struts Flow scripts short and to the point. A list of the extensions is also on the left under
+          the heading"Java Enhancements".
+        </p>
+             <p>The following examples show how Struts Flow can be used:
+             </p>
+            <ul>
+                <li><a href="guess-example.html">Number Guess Game Example</a> - A simple number guessing game</li>
+                <li><a href="remote-example.html">Number Guess Game Example - Remote Edition</a> - The above game but with a remote call from the client Javascript to let the user "cheat"</li>
+                <li><a href="templates-example.html">Number Guess Game Example - Templates Edition</a> - The above example, but rendering all HTML on both the server and client side using <a
+        href="http://www.trimpath.com/project/wiki/JavaScriptTemplates">Javascript Templates</a>.</li>
+                <li><a href="wizard-example.html">Wizard Example</a> - Shows a simple wizard framework built on top of Struts Flow that handles back and forward navigation automatically.</li>
+            </ul>
+          <p>
+            For more documentation about the general concept of flow and continuations, the <a href="http://cocoon.apache.org">Apache Cocoon</a> <a href="http://cocoon.apache.org/2.1/userdocs/flow/index.html">Control Flow</a> pages might be useful as the core of Struts Flow was originally extracted from Cocoon.
+          </p>
+       </section>   
       <section name="What's New" href="new">
-        <section name="0.3 - Unreleased">
+        <section name="0.5 - Unreleased">
             <ul>
               <li>Added better Collections support within Javascript</li>
               <li>Upgraded Rhino library to 1.6 which features native continuations support</li>
@@ -83,6 +109,7 @@
               <li>Moved project to Apache Struts</li>
               <li>Added new remote number guessing game example to demonstrate remote Javascript flow calls</li>
               <li>Added new templates number guessing game example to demonstrate a 100% Javascript application</li>
+              <li>Added new documentation generated from the Java and Javascript source files</li>
             </ul>
         </section>
         <section name="0.2 - September 10, 2004">
@@ -117,16 +144,5 @@
             Struts-specific features of Struts Flow requires Struts 1.1 or greater.
           </p>
       </section>
-      <section name="Examples" href="examples">
-        
-        <p>The following examples show how Struts Flow can be used:
-        </p>
-        <ul>
-            <li><a href="guess-example.html">Number Guess Game Example</a></li>
-            <li><a href="remote-example.html">Number Guess Game Example - Remote Edition</a></li>
-            <li><a href="templates-example.html">Number Guess Game Example - Templates Edition</a></li>
-            <li><a href="wizard-example.html">Wizard Example</a></li>
-        </ul>
-      </section>
-  </body>
+ </body>
 </document>

Modified: struts/core/trunk/doc/flow/project.xml
URL: http://svn.apache.org/viewcvs/struts/core/trunk/doc/flow/project.xml?rev=165427&r1=165426&r2=165427&view=diff
==============================================================================
--- struts/core/trunk/doc/flow/project.xml (original)
+++ struts/core/trunk/doc/flow/project.xml Sat Apr 30 15:34:45 2005
@@ -10,12 +10,22 @@
         <item name="What's New" href="index.html#new"/>
         <item name="Requirements" href="index.html#requirements"/>
         <item name="Download (Sourceforge)" href="http://sourceforge.net/project/showfiles.php?group_id=49385&amp;package_id=120079"/>
+        <item name="Examples" href="index.html#examples"/>    
     </menu>
     
-    <menu name="Documentation">
-        <item name="Examples" href="index.html#examples"/>    
-        <item name="Java Enhancements" href="extensions.html"/>
+    <menu name="Built-in Resources">
+        
         <item name="Flow Methods" href="system.html"/>
+        <item name="Variable 'flow'" href="JSFlow.html"/>
+        <item name="Variable 'log'" href="JSLog.html"/>
+        <item name="Variable 'struts'" href="Struts.html"/>
+    </menu>
+
+    <menu name="Java Extensions">
+        <item name="java.util.Collection" href="CollectionExtensions.html"/>
+        <item name="java.util.List" href="ListExtensions.html"/>
+        <item name="java.io.File" href="FileExtensions.html"/>
+        <item name="java.io.InputStream" href="InputStreamExtensions.html"/>
     </menu>
 
     <menu name="Quick Links">

Modified: struts/core/trunk/doc/flow/system.xml
URL: http://svn.apache.org/viewcvs/struts/core/trunk/doc/flow/system.xml?rev=165427&r1=165426&r2=165427&view=diff
==============================================================================
--- struts/core/trunk/doc/flow/system.xml (original)
+++ struts/core/trunk/doc/flow/system.xml Sat Apr 30 15:34:45 2005
@@ -1,7 +1,86 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<document url="syste.html"><!--
+<document url="syste.html">
+<!--
     WARNING: This file is automatically generated from a jsdoc processor that
-    turns javadoc-type comments of Javascript files into an xml file, which is
+    turns javadoc-type comments of Javascript and special Java files into an xml file, which is
     then processed by an xsl file to create this document. Do not modify this
     file, but rather either modify the comments or xsl file.
-  --><properties><title>File system.js</title></properties><body><section href="summary" name="Core Flow Methods "><p> <p> These methods are available to every flow script automatically to simplify interactions with the flow engine. They can be overridden as necessary for advanced customizations like intercepting every function call to perform some common logic like security checks. </p> <p>The only method that should be called from an application's flow scripts  is <a href="#fn_forwardAndWait">forwardAndWait()</a> as the others are mainly just used by the framework.  They are exposed to allow the user to easily customize functionality. </p> </p><dl/><hr/><strong>Functions</strong><blockquote><a href="#fn_startContinuation">startContinuation</a>(lastWebCont)<br/><a href="#fn_callFunction">callFunction</a>(func, args)<br/><a href="#fn_forwardAndWait">forwardAndWait</a>(name, atts, allowedRemoteFuncs)<br/><a href="#fn__forwardAndWait">_forwardAndWait</a>(name, atts)<br/><a href="#fn_handleContinuation">handleContinuation</a>(kont)<br/></blockquote></section><section href="fn_startContinuation" name="startContinuation"><pre>startContinuation(lastWebCont)</pre><p>  Starts a continuation, linking it with the last continuation. </p><table><tr><th>Parameter</th><th>Description</th></tr><tr><td>lastWebCont</td><td>The last web continuation to link this continuation to </td></tr></table><dl><dt><strong>Returns: </strong></dt><dd>The created continuation </dd></dl></section><section href="fn_callFunction" name="callFunction"><pre>callFunction(func, args)</pre><p> Calls the specified function, creating a suicide continuation first. </p><table><tr><th>Parameter</th><th>Description</th></tr><tr><td>func</td><td>The function object to call </td></tr><tr><td>args</td><td>The argument list to pass to the function </td></tr></table><dl><dt><strong>Returns: </strong></dt><dd>The result of the function </dd></dl></section><section href="fn_forwardAndWait" name="forwardAndWait"><pre>forwardAndWait(name, atts, allowedRemoteFuncs)</pre><p> Forwards to a page and creates a continuation. Contains special support for client FlowCall's (calling flow functions through asynchrous javascript calls from the client).  The forward name will be used to find the appropriate Struts ActionForward to return from the Action. </p><table><tr><th>Parameter</th><th>Description</th></tr><tr><td>name</td><td>The Struts forward name to call </td></tr><tr><td>atts</td><td>Map of business objects to place in the request scope </td></tr><tr><td>allowedRemoteFuncs</td><td>A list of remote function names that are allowed        to be called from asynchronously from the client.  An empty array        allows any function call, a null or not specified array allows none. </td></tr></table><dl><dt><strong>Returns: </strong></dt><dd>The continuation created used in the call </dd></dl></section><section href="fn__forwardAndWait" name="_forwardAndWait"><pre>_forwardAndWait(name, atts)</pre><p>  Does the actual work to forward to a page and create a continuation.  The forward name, continuation id, and business object map are passed through <code>flow</code> context values.  This method shouldn't be called from  flow scripts but the method forwardAndWait() should be called instead.  </p><table><tr><th>Parameter</th><th>Description</th></tr><tr><td>name</td><td>The Struts forward to call </td></tr><tr><td>atts</td><td>The business object map to make available to the page </td></tr></table><dl><dt><strong>Returns: </strong></dt><dd>The continuation created  </dd></dl></section><section href="fn_handleContinuation" name="handleContinuation"><pre>handleContinuation(kont)</pre><p> This function is called by Struts Flow to restart a previously saved continuation passed as argument.  Override this method to have control over how continuations are instantiated. </p><table><tr><th>Parameter</th><th>Description</th></tr><tr><td>kont</td><td>The continuation to reload </td></tr></table><dl/></section></body></document>
\ No newline at end of file
+  -->
+<properties>
+<title>Core Flow Methods </title>
+</properties>
+<body>
+<section href="summary" name="Core Flow Methods ">
+<p> <p> These methods are available to every flow script automatically to simplify interactions with the flow engine. They can be overridden as necessary for advanced customizations like intercepting every function call to perform some common logic like security checks. </p> <p>The only method that should be called from an application's flow scripts  is <a href="#fn_forwardAndWait">forwardAndWait()</a> as the others are mainly just used by the framework.  They are exposed to allow the user to easily customize functionality. </p> </p>
+<dl/>
+<table width="100%">
+<tr>
+<th colspan="2">Function Summary</th>
+</tr>
+<tr>
+<td width="5%">
+<code>Continuation </code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_forwardAndWait">forwardAndWait(name, atts, allowedRemoteFuncs)</a>
+</code>
+</strong>
+</td>
+</tr>
+<tr>
+<td width="5%">
+<code>void </code>
+</td>
+<td>
+<strong>
+<code>
+<a href="#fn_handleContinuation">handleContinuation(kont)</a>
+</code>
+</strong>
+</td>
+</tr>
+</table>
+</section>
+<section name="Functions">
+<section href="fn_forwardAndWait" name="forwardAndWait">
+<pre>Continuation  forwardAndWait(name, atts, allowedRemoteFuncs)</pre>
+<p> Forwards to a page and creates a continuation. Contains special support for client FlowCall's (calling flow functions through asynchrous javascript calls from the client).  The forward name will be used to find the appropriate Struts ActionForward to return from the Action. </p>
+<dl>
+<dt>
+<strong>Parameters:</strong>
+</dt>
+<dd>
+<code>name</code> - 
+                The Struts forward name to call </dd>
+<dd>
+<code>atts</code> - 
+                Map of business objects to place in the request scope </dd>
+<dd>
+<code>allowedRemoteFuncs</code> - 
+                A list of remote function names that are allowed        to be called from asynchronously from the client.  An empty array        allows any function call, a null or not specified array allows none. </dd>
+</dl>
+<dl>
+<dt>
+<strong>Returns: </strong>
+</dt>
+<dd>The continuation created used in the call </dd>
+</dl>
+</section>
+<section href="fn_handleContinuation" name="handleContinuation">
+<pre>void  handleContinuation(kont)</pre>
+<p> This function is called by Struts Flow to restart a previously saved continuation passed as argument.  Override this method to have control over how continuations are instantiated. </p>
+<dl>
+<dt>
+<strong>Parameters:</strong>
+</dt>
+<dd>
+<code>kont</code> - 
+                The continuation to reload </dd>
+</dl>
+<dl/>
+</section>
+</section>
+</body>
+</document>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org