You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by da...@cocoon.zones.apache.org on 2006/05/08 18:03:42 UTC

[DAISY] Updated: Repeater widget

A document has been updated:

http://cocoon.zones.apache.org/daisy/documentation/496.html

Document ID: 496
Branch: main
Language: default
Name: Repeater widget (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 5/8/06 4:03:20 PM
Updated by: Simone Gianni

A new version has been created, state: draft

Parts
=====
Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 5224 bytes (previous version: 4461 bytes)
Content diff:
(20 equal lines skipped)
      <fd:on-create>
        [...]
      </fd:on-create>
+++   <fd:on-repeater-modified>
+++     [...]
+++   </fd:on-repeater-modified>
      <fd:attributes>
        <fd:attribute name="..." value="..."/>
      </fd:attributes>
(11 equal lines skipped)
    </strong>attributes control the size of the repeater. A validation error is set
    on the repeater when these boundaries are violated.</p>
    
+++ <p>The <strong>fd:on-repeater-modified</strong> element is used to specify a
+++ repeater listener. This listener will be notified of rows additions, removal and
+++ reordering. The RepeaterEvent instance (accessible with the event variable in a
+++ javascript listener) allows to know which action (see class RepeaterEventAction)
+++ is happening on which row. When  a row is being deleted or the entire repeater
+++ is being cleared, two events are thrown : the <tt>ROW_DELETING</tt> or
+++ <tt>ROWS_CLEARING</tt> before the action actually takes place, and the
+++ <tt><tt>ROW_DELETED</tt></tt> or <tt>ROWS_CLEARED</tt> after the row has
+++ actually been deleted or the repeater has actually been cleared.</p>
+++ 
    <p>For a description of the other elements, see the <a href="daisy:481">field
    widget</a>.</p>
    
(88 equal lines skipped)


Fields
======
no changes

Links
=====
no changes

Custom Fields
=============
no changes

Collections
===========
no changes