bruno 2003/07/25 06:41:27
Modified: src/documentation/xdocs/userdocs/flow woody.xml
Log:
Removed references to attribute-name.
Revision Changes Path
1.5 +3 -6
cocoon-2.1/src/documentation/xdocs/userdocs/flow/woody.xml
Index: woody.xml
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/documentation/xdocs/userdocs/flow/woody.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- woody.xml 14 Jul 2003 09:36:41 -0000 1.4
+++ woody.xml 25 Jul 2003 13:41:27 -0000 1.5
@@ -65,7 +65,7 @@
<s2 title ="The woody function"><anchor id="woody"/>
<p>The entry point to a Woody form is the <code>woody()</code>
function:</p>
<p>
- <em>Function</em> <code>woody(form_function, form_definition,
attribut_name)</code>
+ <em>Function</em> <code>woody(form_function, form_definition)</code>
</p>
<p> You call the
<code>woody</code> function from your sitemap to create a new form, for
example:</p>
@@ -75,17 +75,14 @@
<map:call function="woody">
<map:parameter name="function" value="form1"/>
<map:parameter name="form-definition" value="forms/form1.xml"/>
- <map:parameter name="attribute-name" value="form1"/>
</map:call>
</map:match>
]]></source>
<p>
The <code>function</code> parameter specifies the name of a JavaScript
function that will
provide the form's flow. The <code>form-definition</code> parameter
specifies the
-location of the Woody form definition of the form. The
<code>attribute-name</code>
-parameter specifies the name of a request attribute that will be used to
-store the form. The specified function will be called with one
-parameter, the newly created form.
+location of the Woody form definition of the form. The specified function
will
+be called with one parameter, the newly created form.
</p>
<p>
To use Woody in a Flowscript you must load <code>woody.js</code> into your
script and define a function that takes one argument (<code>form1</code> in the
example at the top of this page). The argument passed to your function will be
a JavaScript representation of your Woody form.