A document has been updated:
http://cocoon.zones.apache.org/daisy/documentation/494.html
Document ID: 494
Branch: main
Language: default
Name: RepeaterAction widget (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 3/10/06 10:46:39 AM
Updated by: Jean-Baptiste Quenot
A new version has been created, state: publish
Parts
=====
Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name: (unchanged)
Size: 2231 bytes (previous version: 2099 bytes)
Content diff:
(7 equal lines skipped)
<h1>Definition</h1>
--- <pre><fd:repeater-action id="..." command="delete-rows|add-row"
repeater="..." select="..." state="...">
+++ <pre><fd:repeater-action id="..." command="delete-rows|add-row"
number-of-rows="..." repeater="..." select="..." state="...">
<fd:label>...</fd:label>
<fd:help>...</fd:help>
<fd:hint>...</fd:hint>
(10 equal lines skipped)
<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
(22 equal lines skipped)
Fields
======
no changes
Links
=====
no changes
Custom Fields
=============
no changes
Collections
===========
no changes