You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cr...@apache.org on 2006/03/23 04:10:36 UTC

svn commit: r388012 [38/41] - in /cocoon/site/site/2.1: ./ developing/portal/ developing/portal/coplets/ developing/webapps/ developing/webapps/authentication/ howto/ images/ skin/ skin/css/ skin/images/ skin/scripts/ skin/translations/ tutorial/ userd...

Modified: cocoon/site/site/2.1/userdocs/widgets/widget_aggregatefield.html
URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/userdocs/widgets/widget_aggregatefield.html?rev=388012&r1=388011&r2=388012&view=diff
==============================================================================
--- cocoon/site/site/2.1/userdocs/widgets/widget_aggregatefield.html (original)
+++ cocoon/site/site/2.1/userdocs/widgets/widget_aggregatefield.html Wed Mar 22 19:10:28 2006
@@ -5,6 +5,8 @@
 <meta content="Apache Forrest" name="Generator">
 <meta name="Forrest-version" content="0.8-dev">
 <meta name="Forrest-skin-name" content="pelt">
+<meta name="CocoonBlock" content="">
+<meta name="CocoonComponentReference" content="">
 <title>Aggregatefield widget</title>
 <link type="text/css" href="../../../skin/basic.css" rel="stylesheet">
 <link media="screen" type="text/css" href="../../../skin/screen.css" rel="stylesheet">
@@ -1213,7 +1215,7 @@
     +-->
 <div id="content">
 <h1>Aggregatefield widget</h1>
-<a name="N10007"></a><a name="Concept"></a>
+<a name="N10019"></a><a name="Concept"></a>
 <h2 class="h3">Concept</h2>
 <div class="section">
 <p>An aggregated field allows to represent one value as multiple input fields,
@@ -1233,7 +1235,7 @@
 split string representation into parts which can be converted to the values of
 nested fields.</p>
 </div>
-<a name="N10013"></a><a name="Definition"></a>
+<a name="N10025"></a><a name="Definition"></a>
 <h2 class="h3">Definition</h2>
 <div class="section">
 <pre>&lt;fd:aggregatefield id="..." state="..."&gt;

Modified: cocoon/site/site/2.1/userdocs/widgets/widget_booleanfield.html
URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/userdocs/widgets/widget_booleanfield.html?rev=388012&r1=388011&r2=388012&view=diff
==============================================================================
--- cocoon/site/site/2.1/userdocs/widgets/widget_booleanfield.html (original)
+++ cocoon/site/site/2.1/userdocs/widgets/widget_booleanfield.html Wed Mar 22 19:10:28 2006
@@ -5,6 +5,8 @@
 <meta content="Apache Forrest" name="Generator">
 <meta name="Forrest-version" content="0.8-dev">
 <meta name="Forrest-skin-name" content="pelt">
+<meta name="CocoonBlock" content="">
+<meta name="CocoonComponentReference" content="">
 <title>booleanfield widget</title>
 <link type="text/css" href="../../../skin/basic.css" rel="stylesheet">
 <link media="screen" type="text/css" href="../../../skin/screen.css" rel="stylesheet">
@@ -1213,7 +1215,7 @@
     +-->
 <div id="content">
 <h1>booleanfield widget</h1>
-<a name="N10007"></a><a name="Concept"></a>
+<a name="N10019"></a><a name="Concept"></a>
 <h2 class="h3">Concept</h2>
 <div class="section">
 <p>An fd:booleanfield is a field that has a value of true or false. Usually is
@@ -1228,7 +1230,7 @@
 It is either true or false. If you want tripples (true/false/none), use a normal
 field widget with a selection list.</p>
 </div>
-<a name="N10018"></a><a name="Definition"></a>
+<a name="N1002A"></a><a name="Definition"></a>
 <h2 class="h3">Definition</h2>
 <div class="section">
 <pre>&lt;fd:booleanfield id="..." state="..."&gt;
@@ -1255,14 +1257,14 @@
 <p>The optional element <strong>fd:true-param-value</strong> specifies the
 parameter value that indicates true. By default this is "true".</p>
 </div>
-<a name="N10029"></a><a name="Template"></a>
+<a name="N1003B"></a><a name="Template"></a>
 <h2 class="h3">Template</h2>
 <div class="section">
 <p>A booleanfield widget is inserted in a template using the ft:widget tag:</p>
 <pre>&lt;ft:widget id="..."/&gt;
 </pre>
 </div>
-<a name="N10031"></a><a name="Styling+%28default+HTML+XSL%29"></a>
+<a name="N10043"></a><a name="Styling+%28default+HTML+XSL%29"></a>
 <h2 class="h3">Styling (default HTML XSL)</h2>
 <div class="section">
 <p>A booleanfield is rendered as a checkbox. To make the checkbox user-friendly,

Modified: cocoon/site/site/2.1/userdocs/widgets/widget_class.html
URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/userdocs/widgets/widget_class.html?rev=388012&r1=388011&r2=388012&view=diff
==============================================================================
--- cocoon/site/site/2.1/userdocs/widgets/widget_class.html (original)
+++ cocoon/site/site/2.1/userdocs/widgets/widget_class.html Wed Mar 22 19:10:28 2006
@@ -5,6 +5,8 @@
 <meta content="Apache Forrest" name="Generator">
 <meta name="Forrest-version" content="0.8-dev">
 <meta name="Forrest-skin-name" content="pelt">
+<meta name="CocoonBlock" content="">
+<meta name="CocoonComponentReference" content="">
 <title>Class/New (not really widgets)</title>
 <link type="text/css" href="../../../skin/basic.css" rel="stylesheet">
 <link media="screen" type="text/css" href="../../../skin/screen.css" rel="stylesheet">
@@ -1213,7 +1215,7 @@
     +-->
 <div id="content">
 <h1>Class/New (not really widgets)</h1>
-<a name="N10007"></a>
+<a name="N10019"></a>
 <h2 class="h3"></h2>
 <div class="section">
 <p>See for now <a class="external" href="http://wiki.apache.org/cocoon/FormsClassWidget">here one

Modified: cocoon/site/site/2.1/userdocs/widgets/widget_field.html
URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/userdocs/widgets/widget_field.html?rev=388012&r1=388011&r2=388012&view=diff
==============================================================================
--- cocoon/site/site/2.1/userdocs/widgets/widget_field.html (original)
+++ cocoon/site/site/2.1/userdocs/widgets/widget_field.html Wed Mar 22 19:10:28 2006
@@ -5,6 +5,8 @@
 <meta content="Apache Forrest" name="Generator">
 <meta name="Forrest-version" content="0.8-dev">
 <meta name="Forrest-skin-name" content="pelt">
+<meta name="CocoonBlock" content="">
+<meta name="CocoonComponentReference" content="">
 <title>Field widget</title>
 <link type="text/css" href="../../../skin/basic.css" rel="stylesheet">
 <link media="screen" type="text/css" href="../../../skin/screen.css" rel="stylesheet">
@@ -1213,7 +1215,7 @@
     +-->
 <div id="content">
 <h1>Field widget</h1>
-<a name="N10007"></a><a name="Concept"></a>
+<a name="N10019"></a><a name="Concept"></a>
 <h2 class="h3">Concept</h2>
 <div class="section">
 <p>The field widget is the most common widget. It is used both for text boxes or
@@ -1221,7 +1223,7 @@
 long or date to ask for different types of data.</p>
 <p>
 <img alt="" src="409.daisy.img"></p>
-<a name="N10011"></a><a name="Datatypes"></a>
+<a name="N10023"></a><a name="Datatypes"></a>
 <h3 class="h4">Datatypes</h3>
 <p>A datatype represents a certain type of data, such as a string, integer,
 decimal or date. Each datatype matches to a certain Java class. If you associate
@@ -1246,7 +1248,7 @@
 will give you an object of the correct type.</p>
 <p>The available datatypes and their respective convertors are documented in a
 <a href="../../../2.1/userdocs/widgetconcepts/datatypes.html">separate document</a>.</p>
-<a name="N1002F"></a><a name="Selection+lists"></a>
+<a name="N10041"></a><a name="Selection+lists"></a>
 <h3 class="h4">Selection lists</h3>
 <p>A field widget can furthermore be associated with a selection list. This
 makes that the field widget could be rendered either as a textbox or a list,
@@ -1257,13 +1259,13 @@
 short, unchanging lists), retrieved from external sources (i.e. a Cocoon
 pipeline), or pulled from an oject structure. Full details on selection lists
 are also in a <a href="../../../2.1/userdocs/widgetconcepts/datatypes.html">separate document</a>.</p>
-<a name="N1003B"></a><a name="Conclusion"></a>
+<a name="N1004D"></a><a name="Conclusion"></a>
 <h3 class="h4">Conclusion</h3>
 <p>If we wouldn't make these datatype and selection list associations, we would
 need to create specific widgets for each possible combination: StringField,
 LongField, DateField, StringSelectionList, LongSelectionList, ...</p>
 </div>
-<a name="N10041"></a><a name="Definition"></a>
+<a name="N10053"></a><a name="Definition"></a>
 <h2 class="h3">Definition</h2>
 <div class="section">
 <p>Configuration example:</p>
@@ -1348,14 +1350,14 @@
 case when you use flowscript. If you don't use flowscript you could store the
 form instance in e.g. the session.</p>
 </div>
-<a name="N100B3"></a><a name="Template"></a>
+<a name="N100C5"></a><a name="Template"></a>
 <h2 class="h3">Template</h2>
 <div class="section">
 <p>A field widget is inserted in a template using the ft:widget tag:</p>
 <pre>&lt;ft:widget id="..."/&gt;
 </pre>
 </div>
-<a name="N100BB"></a><a name="Styling+%28default+HTML+XSL%29"></a>
+<a name="N100CD"></a><a name="Styling+%28default+HTML+XSL%29"></a>
 <h2 class="h3">Styling (default HTML XSL)</h2>
 <div class="section">
 <p>If the field widget does not have a selection list, it will be rendered as

Modified: cocoon/site/site/2.1/userdocs/widgets/widget_form.html
URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/userdocs/widgets/widget_form.html?rev=388012&r1=388011&r2=388012&view=diff
==============================================================================
--- cocoon/site/site/2.1/userdocs/widgets/widget_form.html (original)
+++ cocoon/site/site/2.1/userdocs/widgets/widget_form.html Wed Mar 22 19:10:28 2006
@@ -5,6 +5,8 @@
 <meta content="Apache Forrest" name="Generator">
 <meta name="Forrest-version" content="0.8-dev">
 <meta name="Forrest-skin-name" content="pelt">
+<meta name="CocoonBlock" content="">
+<meta name="CocoonComponentReference" content="">
 <title>Form</title>
 <link type="text/css" href="../../../skin/basic.css" rel="stylesheet">
 <link media="screen" type="text/css" href="../../../skin/screen.css" rel="stylesheet">
@@ -1213,13 +1215,13 @@
     +-->
 <div id="content">
 <h1>Form</h1>
-<a name="N10007"></a><a name="Concept"></a>
+<a name="N10019"></a><a name="Concept"></a>
 <h2 class="h3">Concept</h2>
 <div class="section">
 <p>The form itself is not really a widget, but we include its reference
 documentation here nonetheless.</p>
 </div>
-<a name="N1000D"></a><a name="Definition"></a>
+<a name="N1001F"></a><a name="Definition"></a>
 <h2 class="h3">Definition</h2>
 <div class="section">
 <pre>&lt;fd:form id="..." state="..."&gt;
@@ -1242,7 +1244,7 @@
 <a href="../../../2.1/userdocs/widgets/widget_field.html">field widget</a>. Specifying an id for the form is optional.
 </p>
 </div>
-<a name="N10019"></a><a name="Template"></a>
+<a name="N1002B"></a><a name="Template"></a>
 <h2 class="h3">Template</h2>
 <div class="section">
 <p>A form is inserted into a template by use of the ft:form-template tag:</p>

Modified: cocoon/site/site/2.1/userdocs/widgets/widget_group.html
URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/userdocs/widgets/widget_group.html?rev=388012&r1=388011&r2=388012&view=diff
==============================================================================
--- cocoon/site/site/2.1/userdocs/widgets/widget_group.html (original)
+++ cocoon/site/site/2.1/userdocs/widgets/widget_group.html Wed Mar 22 19:10:28 2006
@@ -5,6 +5,8 @@
 <meta content="Apache Forrest" name="Generator">
 <meta name="Forrest-version" content="0.8-dev">
 <meta name="Forrest-skin-name" content="pelt">
+<meta name="CocoonBlock" content="">
+<meta name="CocoonComponentReference" content="">
 <title>Group/Struct widget</title>
 <link type="text/css" href="../../../skin/basic.css" rel="stylesheet">
 <link media="screen" type="text/css" href="../../../skin/screen.css" rel="stylesheet">
@@ -1213,7 +1215,7 @@
     +-->
 <div id="content">
 <h1>Group/Struct widget</h1>
-<a name="N10007"></a><a name="Concept"></a>
+<a name="N10019"></a><a name="Concept"></a>
 <h2 class="h3">Concept</h2>
 <div class="section">
 <p>A group widget is simply a container for a number of other widgets. This can
@@ -1231,7 +1233,7 @@
 </ul>
 <p>The group widget was previously called struct.</p>
 </div>
-<a name="N10021"></a><a name="Definition"></a>
+<a name="N10033"></a><a name="Definition"></a>
 <h2 class="h3">Definition</h2>
 <div class="section">
 <pre>&lt;fd:group id="..." state="..."&gt;
@@ -1250,7 +1252,7 @@
 &lt;/fd:group&gt;
 </pre>
 </div>
-<a name="N10027"></a><a name="Template"></a>
+<a name="N10039"></a><a name="Template"></a>
 <h2 class="h3">Template</h2>
 <div class="section">
 <p>A group widget is inserted in a template using the ft:group tag. The content
@@ -1260,7 +1262,7 @@
   [...]
 &lt;/ft:group&gt;
 </pre>
-<a name="N1002F"></a><a name="Example"></a>
+<a name="N10041"></a><a name="Example"></a>
 <h3 class="h4">Example</h3>
 <p>For a definition like this:</p>
 <pre>&lt;fd:group id="mygroup"&gt;
@@ -1277,7 +1279,7 @@
 &lt;/ft:group&gt;
 </pre>
 </div>
-<a name="N1003B"></a><a name="Styling+%28default+HTML+XSL%29"></a>
+<a name="N1004D"></a><a name="Styling+%28default+HTML+XSL%29"></a>
 <h2 class="h3">Styling (default HTML XSL)</h2>
 <div class="section">
 <p>N/A</p>

Modified: cocoon/site/site/2.1/userdocs/widgets/widget_imagemap.html
URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/userdocs/widgets/widget_imagemap.html?rev=388012&r1=388011&r2=388012&view=diff
==============================================================================
--- cocoon/site/site/2.1/userdocs/widgets/widget_imagemap.html (original)
+++ cocoon/site/site/2.1/userdocs/widgets/widget_imagemap.html Wed Mar 22 19:10:28 2006
@@ -5,6 +5,8 @@
 <meta content="Apache Forrest" name="Generator">
 <meta name="Forrest-version" content="0.8-dev">
 <meta name="Forrest-skin-name" content="pelt">
+<meta name="CocoonBlock" content="">
+<meta name="CocoonComponentReference" content="">
 <title>ImageMap widget</title>
 <link type="text/css" href="../../../skin/basic.css" rel="stylesheet">
 <link media="screen" type="text/css" href="../../../skin/screen.css" rel="stylesheet">
@@ -1213,10 +1215,42 @@
     +-->
 <div id="content">
 <h1>ImageMap widget</h1>
-<a name="N10007"></a>
+<a name="N10019"></a>
 <h2 class="h3"></h2>
 <div class="section">
-<p>TODO</p>
+<h2>Concept</h2>
+<p>It is used to display a server-side image map and it triggers an ImageMap
+event on the server side when clicked.<br>
+It behaves much as an Action widget, but you can bind the source URI of the
+image using the binding framework "<tt>fb:value</tt>" element, set the image at
+runtime using the <tt>setImageURI()</tt> method, and retrieve the mouse
+coordinates with <tt>getX(</tt>) and <tt>getY()</tt> methods.</p>
+<h2>Definition</h2>
+<pre>&lt;fd:imagemap id="map"&gt;
+    &lt;fd:imageuri&gt;test.gif&lt;/fd:imageuri&gt;
+    &lt;fd:hint&gt;Click on this map to zoom-in&lt;/fd:hint&gt;
+    &lt;fd:on-action&gt;
+        &lt;javascript&gt;onClickMap(event);&lt;/javascript&gt;
+    &lt;/fd:on-action&gt;
+&lt;/fd:imagemap&gt;</pre>
+<h2>Binding</h2>
+<pre>&lt;fb:value id="map" path="@src"/&gt;</pre>
+<h2>Template</h2>
+<pre>&lt;ft:widget id="map"&gt;
+	&lt;fi:styling xmlns:fi="<a class="external" href="http://apache.org/cocoon/forms/1.0#instance">http://apache.org/cocoon/forms/1.0#instance</a>"
+		border="2"/&gt;
+&lt;/ft:widget&gt;</pre>
+<h2>Flow</h2>
+<p>This is another way to set the image URI:</p>
+<pre>frm.getWidget().lookupWidget("map").setImageURI("test2.gif");</pre>
+<p>This is the handler of the imagemap event:</p>
+<pre>function onClickMap (event) {
+	var x= event.getX();
+	var y= event.getY();
+
+	cocoon.log.debug("imageMap: x:" + x + " y:" + y);
+}
+</pre>
 <div class="daisy-edit-link">
 <p>
 <em>Errors and Improvements?</em>

Modified: cocoon/site/site/2.1/userdocs/widgets/widget_messages.html
URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/userdocs/widgets/widget_messages.html?rev=388012&r1=388011&r2=388012&view=diff
==============================================================================
--- cocoon/site/site/2.1/userdocs/widgets/widget_messages.html (original)
+++ cocoon/site/site/2.1/userdocs/widgets/widget_messages.html Wed Mar 22 19:10:28 2006
@@ -5,6 +5,8 @@
 <meta content="Apache Forrest" name="Generator">
 <meta name="Forrest-version" content="0.8-dev">
 <meta name="Forrest-skin-name" content="pelt">
+<meta name="CocoonBlock" content="">
+<meta name="CocoonComponentReference" content="">
 <title>Messages widget</title>
 <link type="text/css" href="../../../skin/basic.css" rel="stylesheet">
 <link media="screen" type="text/css" href="../../../skin/screen.css" rel="stylesheet">
@@ -1213,7 +1215,7 @@
     +-->
 <div id="content">
 <h1>Messages widget</h1>
-<a name="N10007"></a><a name="Concept"></a>
+<a name="N10019"></a><a name="Concept"></a>
 <h2 class="h3">Concept</h2>
 <div class="section">
 <p>A widget to output one or messages. This widget doesn't respond to input from
@@ -1221,7 +1223,7 @@
 <p>This widget is typically used to communicate extra messages to the user, that
 aren't associated with any other widget in particular.</p>
 </div>
-<a name="N1000F"></a><a name="Definition"></a>
+<a name="N10021"></a><a name="Definition"></a>
 <h2 class="h3">Definition</h2>
 <div class="section">
 <pre>&lt;fd:messages id="..." state="..."&gt;
@@ -1230,19 +1232,19 @@
 <p>While the fd:messages widget can have validators etc., this probably does not
 make much sense for this widget so they are not mentioned above.</p>
 </div>
-<a name="N10017"></a><a name="Template"></a>
+<a name="N10029"></a><a name="Template"></a>
 <h2 class="h3">Template</h2>
 <div class="section">
 <p>A messages widget is inserted in a template using the ft:widget tag:</p>
 <pre>&lt;ft:widget id="..."/&gt;
 </pre>
 </div>
-<a name="N1001F"></a><a name="Styling+%28default+HTML+XSL%29"></a>
+<a name="N10031"></a><a name="Styling+%28default+HTML+XSL%29"></a>
 <h2 class="h3">Styling (default HTML XSL)</h2>
 <div class="section">
 <p>The messages are rendered as an unordered list.</p>
 </div>
-<a name="N10025"></a><a name="API"></a>
+<a name="N10037"></a><a name="API"></a>
 <h2 class="h3">API</h2>
 <div class="section">
 <p>Messages are added using the <tt>addMessage</tt> method on this widget. The

Modified: cocoon/site/site/2.1/userdocs/widgets/widget_multivaluefield.html
URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/userdocs/widgets/widget_multivaluefield.html?rev=388012&r1=388011&r2=388012&view=diff
==============================================================================
--- cocoon/site/site/2.1/userdocs/widgets/widget_multivaluefield.html (original)
+++ cocoon/site/site/2.1/userdocs/widgets/widget_multivaluefield.html Wed Mar 22 19:10:28 2006
@@ -5,6 +5,8 @@
 <meta content="Apache Forrest" name="Generator">
 <meta name="Forrest-version" content="0.8-dev">
 <meta name="Forrest-skin-name" content="pelt">
+<meta name="CocoonBlock" content="">
+<meta name="CocoonComponentReference" content="">
 <title>MultiValueField widget</title>
 <link type="text/css" href="../../../skin/basic.css" rel="stylesheet">
 <link media="screen" type="text/css" href="../../../skin/screen.css" rel="stylesheet">
@@ -1213,7 +1215,7 @@
     +-->
 <div id="content">
 <h1>MultiValueField widget</h1>
-<a name="N10007"></a><a name="Concept"></a>
+<a name="N10019"></a><a name="Concept"></a>
 <h2 class="h3">Concept</h2>
 <div class="section">
 <p>The fd:multivaluefield is similar to the <a href="../../../2.1/userdocs/widgets/widget_field.html">field widget</a>
@@ -1233,7 +1235,7 @@
 return, arrays of objects (i.e. Object[]). The type of the objects in these
 arrays should match the datatype declared for the widget.</p>
 </div>
-<a name="N1001D"></a><a name="Definition"></a>
+<a name="N1002F"></a><a name="Definition"></a>
 <h2 class="h3">Definition</h2>
 <div class="section">
 <pre>&lt;fd:multivaluefield id="..." state="..."&gt;
@@ -1265,7 +1267,7 @@
 use the value-count <a href="../../../2.1/userdocs/widgetconcepts/validation.html">validator</a> to check the number of
 values the user has selected.</p>
 </div>
-<a name="N1002F"></a><a name="Template"></a>
+<a name="N10041"></a><a name="Template"></a>
 <h2 class="h3">Template</h2>
 <div class="section">
 <p>A multivaluefield is inserted into a template using the normal
@@ -1273,7 +1275,7 @@
 <pre>&lt;ft:widget id="..."/&gt;
 </pre>
 </div>
-<a name="N1003A"></a><a name="Styling+%28default+HTML+XSL%29"></a>
+<a name="N1004C"></a><a name="Styling+%28default+HTML+XSL%29"></a>
 <h2 class="h3">Styling (default HTML XSL)</h2>
 <div class="section">
 <p>If the multivaluefield has a selection list, it will by default be rendered
@@ -1300,7 +1302,7 @@
 selecting them and using ctrl+up/down arrow. An existing item can be edited by
 selecting it, editing the value and pressing ctrl+enter.</p>
 </div>
-<a name="N1004A"></a><a name="API+notes"></a>
+<a name="N1005C"></a><a name="API+notes"></a>
 <h2 class="h3">API notes</h2>
 <div class="section">
 <p>As mentioned above, the value of multivaluefield widget is a Java array. So

Modified: cocoon/site/site/2.1/userdocs/widgets/widget_output.html
URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/userdocs/widgets/widget_output.html?rev=388012&r1=388011&r2=388012&view=diff
==============================================================================
--- cocoon/site/site/2.1/userdocs/widgets/widget_output.html (original)
+++ cocoon/site/site/2.1/userdocs/widgets/widget_output.html Wed Mar 22 19:10:28 2006
@@ -5,6 +5,8 @@
 <meta content="Apache Forrest" name="Generator">
 <meta name="Forrest-version" content="0.8-dev">
 <meta name="Forrest-skin-name" content="pelt">
+<meta name="CocoonBlock" content="">
+<meta name="CocoonComponentReference" content="">
 <title>Output widget</title>
 <link type="text/css" href="../../../skin/basic.css" rel="stylesheet">
 <link media="screen" type="text/css" href="../../../skin/screen.css" rel="stylesheet">
@@ -1213,7 +1215,7 @@
     +-->
 <div id="content">
 <h1>Output widget</h1>
-<a name="N10007"></a><a name="Concept"></a>
+<a name="N10019"></a><a name="Concept"></a>
 <h2 class="h3">Concept</h2>
 <div class="section">
 <p>An fd:output widget is similar to a field widget, but its value is not
@@ -1234,7 +1236,7 @@
 API of the Widget interface, methods setAttribute and getAttribute. You can then
 retrieve these attributes using the JXTemplate generator.</p>
 </div>
-<a name="N10021"></a><a name="Definition"></a>
+<a name="N10033"></a><a name="Definition"></a>
 <h2 class="h3">Definition</h2>
 <div class="section">
 <pre>&lt;fd:output id="..." state="..."&gt;
@@ -1255,7 +1257,7 @@
 <p>See <a href="../../../2.1/userdocs/widgets/widget_field.html">field widget</a> for a description of the
 configuration elements.</p>
 </div>
-<a name="N1002D"></a><a name="Template"></a>
+<a name="N1003F"></a><a name="Template"></a>
 <h2 class="h3">Template</h2>
 <div class="section">
 <p>An output widget is inserted in a template using the ft:widget tag:</p>

Modified: cocoon/site/site/2.1/userdocs/widgets/widget_repeater.html
URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/userdocs/widgets/widget_repeater.html?rev=388012&r1=388011&r2=388012&view=diff
==============================================================================
--- cocoon/site/site/2.1/userdocs/widgets/widget_repeater.html (original)
+++ cocoon/site/site/2.1/userdocs/widgets/widget_repeater.html Wed Mar 22 19:10:28 2006
@@ -5,6 +5,8 @@
 <meta content="Apache Forrest" name="Generator">
 <meta name="Forrest-version" content="0.8-dev">
 <meta name="Forrest-skin-name" content="pelt">
+<meta name="CocoonBlock" content="">
+<meta name="CocoonComponentReference" content="">
 <title>Repeater widget</title>
 <link type="text/css" href="../../../skin/basic.css" rel="stylesheet">
 <link media="screen" type="text/css" href="../../../skin/screen.css" rel="stylesheet">
@@ -1213,13 +1215,13 @@
     +-->
 <div id="content">
 <h1>Repeater widget</h1>
-<a name="N10007"></a><a name="Concept"></a>
+<a name="N10019"></a><a name="Concept"></a>
 <h2 class="h3">Concept</h2>
 <div class="section">
 <p>An fd:repeater widget is a widget that repeats a number of other widgets. It
 can be used to create e.g. tables, repeating subforms, etc.</p>
 </div>
-<a name="N1000D"></a><a name="Definition"></a>
+<a name="N1001F"></a><a name="Definition"></a>
 <h2 class="h3">Definition</h2>
 <div class="section">
 <pre>&lt;fd:repeater id="..." initial-size="..." min-size="..." max-size="..." state="..."&gt;
@@ -1251,10 +1253,10 @@
 <p>For a description of the other elements, see the <a href="../../../2.1/userdocs/widgets/widget_field.html">field
 widget</a>.</p>
 </div>
-<a name="N1002B"></a><a name="Template"></a>
+<a name="N1003D"></a><a name="Template"></a>
 <h2 class="h3">Template</h2>
 <div class="section">
-<a name="N1002F"></a><a name="Before+Cocoon+2.1.8"></a>
+<a name="N10041"></a><a name="Before+Cocoon+2.1.8"></a>
 <h3 class="h4">Before Cocoon 2.1.8</h3>
 <p>The following elements are available for formatting a repeater in a template:
 </p>
@@ -1293,7 +1295,7 @@
   &lt;/tbody&gt;
 &lt;/table&gt;
 </pre>
-<a name="N1004D"></a><a name="From+Cocoon+2.1.8"></a>
+<a name="N1005F"></a><a name="From+Cocoon+2.1.8"></a>
 <h3 class="h4">From Cocoon 2.1.8</h3>
 <p>Cocoon 2.1.8 introduced a slightly extended manner to format repeaters, which
 is required when using the new <a href="../../../2.1/userdocs/ajax.html">Ajax</a> features. Instead of
@@ -1327,7 +1329,7 @@
   &lt;/table&gt;
 &lt;/ft:repeater&gt;
 </pre>
-<a name="N10067"></a><a name="Tips"></a>
+<a name="N10079"></a><a name="Tips"></a>
 <h3 class="h4">Tips</h3>
 <p>When using JXTemplate, it is possible to test if a repeater is empty and show
 something else in that case. For example:</p>

Modified: cocoon/site/site/2.1/userdocs/widgets/widget_repeater_action.html
URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/userdocs/widgets/widget_repeater_action.html?rev=388012&r1=388011&r2=388012&view=diff
==============================================================================
--- cocoon/site/site/2.1/userdocs/widgets/widget_repeater_action.html (original)
+++ cocoon/site/site/2.1/userdocs/widgets/widget_repeater_action.html Wed Mar 22 19:10:28 2006
@@ -5,6 +5,8 @@
 <meta content="Apache Forrest" name="Generator">
 <meta name="Forrest-version" content="0.8-dev">
 <meta name="Forrest-skin-name" content="pelt">
+<meta name="CocoonBlock" content="">
+<meta name="CocoonComponentReference" content="">
 <title>RepeaterAction widget</title>
 <link type="text/css" href="../../../skin/basic.css" rel="stylesheet">
 <link media="screen" type="text/css" href="../../../skin/screen.css" rel="stylesheet">
@@ -1213,16 +1215,16 @@
     +-->
 <div id="content">
 <h1>RepeaterAction widget</h1>
-<a name="N10007"></a><a name="Concept"></a>
+<a name="N10019"></a><a name="Concept"></a>
 <h2 class="h3">Concept</h2>
 <div class="section">
 <p>This is a specific type of <a href="../../../2.1/userdocs/widgets/widget_action.html">action widget</a> that handles
 the much needed case of adding or removing rows from a repeater.</p>
 </div>
-<a name="N10011"></a><a name="Definition"></a>
+<a name="N10023"></a><a name="Definition"></a>
 <h2 class="h3">Definition</h2>
 <div class="section">
-<pre>&lt;fd:repeater-action id="..." command="delete-rows|add-row" repeater="..." select="..." state="..."&gt;
+<pre>&lt;fd:repeater-action id="..." command="delete-rows|add-row" number-of-rows="..." repeater="..." select="..." state="..."&gt;
   &lt;fd:label&gt;...&lt;/fd:label&gt;
   &lt;fd:help&gt;...&lt;/fd:help&gt;
   &lt;fd:hint&gt;...&lt;/fd:hint&gt;
@@ -1238,9 +1240,10 @@
 &lt;/fd:repeater-action&gt;</pre>
 <p>The <strong>command</strong> attribute (previously called action-command)
 should have either the value <tt>delete-rows</tt> or <tt>add-row</tt>. If
-<strong>add-row</strong> is specified, the attribute repeater is required. If
-<strong>delete-rows</strong> is specified, both the repeater and select
-attributes are required.</p>
+<strong>add-row</strong> is specified, the attribute <tt>repeater</tt> is
+required, and the <tt>number-of-rows</tt> attribute can be optionally set to the
+number of rows to add at once. If <strong>delete-rows</strong> is specified,
+both the repeater and select attributes are required.</p>
 <p>The <strong>repeater</strong> attribute should contain the id of the repeater
 widget on which this repeater-action should act. This must be a sibling of the
 repeater-action widget (see also row-action for actions inside a row).</p>
@@ -1258,7 +1261,7 @@
 <tt>delete-rows</tt> action where event handlers are called <em>before</em> the
 selected rows are deleted.</p>
 </div>
-<a name="N10049"></a><a name="Template+%26+styling"></a>
+<a name="N10061"></a><a name="Template+%26+styling"></a>
 <h2 class="h3">Template &amp; styling</h2>
 <div class="section">
 <p>See the <a href="../../../2.1/userdocs/widgets/widget_action.html">action widget</a>.</p>

Modified: cocoon/site/site/2.1/userdocs/widgets/widget_row_action.html
URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/userdocs/widgets/widget_row_action.html?rev=388012&r1=388011&r2=388012&view=diff
==============================================================================
--- cocoon/site/site/2.1/userdocs/widgets/widget_row_action.html (original)
+++ cocoon/site/site/2.1/userdocs/widgets/widget_row_action.html Wed Mar 22 19:10:28 2006
@@ -5,6 +5,8 @@
 <meta content="Apache Forrest" name="Generator">
 <meta name="Forrest-version" content="0.8-dev">
 <meta name="Forrest-skin-name" content="pelt">
+<meta name="CocoonBlock" content="">
+<meta name="CocoonComponentReference" content="">
 <title>RowAction widget</title>
 <link type="text/css" href="../../../skin/basic.css" rel="stylesheet">
 <link media="screen" type="text/css" href="../../../skin/screen.css" rel="stylesheet">
@@ -1213,7 +1215,7 @@
     +-->
 <div id="content">
 <h1>RowAction widget</h1>
-<a name="N10007"></a><a name="Concept"></a>
+<a name="N10019"></a><a name="Concept"></a>
 <h2 class="h3">Concept</h2>
 <div class="section">
 <p>This is a specific type of <a href="../../../2.1/userdocs/widgets/widget_action.html">action widget</a> that handles
@@ -1221,7 +1223,7 @@
 moving it up and down. These widgets should be placed inside a repeater and act
 on the current row.</p>
 </div>
-<a name="N10011"></a><a name="Definition"></a>
+<a name="N10023"></a><a name="Definition"></a>
 <h2 class="h3">Definition</h2>
 <div class="section">
 <pre>&lt;fd:row-action id="..." command="add-after|delete|move-up|move-down" state="..."&gt;
@@ -1258,7 +1260,7 @@
 lookupWidget(widgetName) method that can be used to access specific widgets for
 the row.</p>
 </div>
-<a name="N10043"></a><a name="Template+%26+styling"></a>
+<a name="N10055"></a><a name="Template+%26+styling"></a>
 <h2 class="h3">Template &amp; styling</h2>
 <div class="section">
 <p>See the <a href="../../../2.1/userdocs/widgets/widget_action.html">action widget</a>.</p>

Modified: cocoon/site/site/2.1/userdocs/widgets/widget_submit.html
URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/userdocs/widgets/widget_submit.html?rev=388012&r1=388011&r2=388012&view=diff
==============================================================================
--- cocoon/site/site/2.1/userdocs/widgets/widget_submit.html (original)
+++ cocoon/site/site/2.1/userdocs/widgets/widget_submit.html Wed Mar 22 19:10:28 2006
@@ -5,6 +5,8 @@
 <meta content="Apache Forrest" name="Generator">
 <meta name="Forrest-version" content="0.8-dev">
 <meta name="Forrest-skin-name" content="pelt">
+<meta name="CocoonBlock" content="">
+<meta name="CocoonComponentReference" content="">
 <title>Submit widget</title>
 <link type="text/css" href="../../../skin/basic.css" rel="stylesheet">
 <link media="screen" type="text/css" href="../../../skin/screen.css" rel="stylesheet">
@@ -1213,7 +1215,7 @@
     +-->
 <div id="content">
 <h1>Submit widget</h1>
-<a name="N10007"></a><a name="Concept"></a>
+<a name="N10019"></a><a name="Concept"></a>
 <h2 class="h3">Concept</h2>
 <div class="section">
 <p>The submit widget, usually rendered as a button, is used by the user to
@@ -1238,7 +1240,7 @@
 <p>To know which widget caused the form to be submitted, use the method
 <tt>getSubmitWidget</tt> of the <tt>Form</tt> object.</p>
 </div>
-<a name="N1002B"></a><a name="Definition"></a>
+<a name="N1003D"></a><a name="Definition"></a>
 <h2 class="h3">Definition</h2>
 <div class="section">
 <pre>&lt;fd:submit id="..." command="..." validate="true|false" state="..."&gt;
@@ -1263,7 +1265,7 @@
 controller is that it shouldn't be redisplayed, and this is exactly what the
 flowscript integration library does.</p>
 </div>
-<a name="N10033"></a><a name="Template+%26+styling"></a>
+<a name="N10045"></a><a name="Template+%26+styling"></a>
 <h2 class="h3">Template &amp; styling</h2>
 <div class="section">
 <p>See the <a href="../../../2.1/userdocs/widgets/widget_action.html">action widget</a>.</p>

Modified: cocoon/site/site/2.1/userdocs/widgets/widget_tree.html
URL: http://svn.apache.org/viewcvs/cocoon/site/site/2.1/userdocs/widgets/widget_tree.html?rev=388012&r1=388011&r2=388012&view=diff
==============================================================================
--- cocoon/site/site/2.1/userdocs/widgets/widget_tree.html (original)
+++ cocoon/site/site/2.1/userdocs/widgets/widget_tree.html Wed Mar 22 19:10:28 2006
@@ -5,6 +5,8 @@
 <meta content="Apache Forrest" name="Generator">
 <meta name="Forrest-version" content="0.8-dev">
 <meta name="Forrest-skin-name" content="pelt">
+<meta name="CocoonBlock" content="">
+<meta name="CocoonComponentReference" content="">
 <title>Tree widget</title>
 <link type="text/css" href="../../../skin/basic.css" rel="stylesheet">
 <link media="screen" type="text/css" href="../../../skin/screen.css" rel="stylesheet">
@@ -1213,7 +1215,7 @@
     +-->
 <div id="content">
 <h1>Tree widget</h1>
-<a name="N10007"></a>
+<a name="N10019"></a>
 <h2 class="h3"></h2>
 <div class="section">
 <p>TODO</p>