Uploaded image for project: 'Cocoon'
  1. Cocoon
  2. COCOON-1729

[PATCH] Add multiple rows to a Repeater (fd:repeater-action).

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.1.8
    • 2.1.9, 2.2
    • Blocks: Forms
    • None
    • Patch available

    Description

      To add a certain numbers of Repeater.Rows (more than 1) to a Repeater with one Action, use the attribute "number-of-rows" in the definition of a repeater-action.

      Example:
         <fd:repeater-action command="add-row" id="add-many-rows-to-repeater" number-of-rows="5" repeater="repeater-name">
            <fd:label> Add 5 rows</fd:label>
          </fd:repeater-action>

          <fd:repeater-action command="add-row" id="add-one-row-to-repeater" repeater="repeater-name">
            <fd:label>Add 1 row</fd:label>
          </fd:repeater-action>

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--patch.txt
          2 kB
          Rolf Metternich

        Activity

          People

            jbq Jean-Baptiste Quenot
            rmetternich Rolf Metternich
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: