Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-10766

make restrictions available on repeater

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 4.5.0
    • 4.4.0
    • None
    • None
    • 4.5 M3
    • 1 - Middle term
    • 2 - Normal

      When a disable condition is defined on a repeater, it is not used.

      It should be possible to enable/disable a repeater.

       

      Example :

       

      <cms:repeater name="myRepeater" initial-size="0">
          <cms:label i18n="false">Test Repeater</cms:label>
          <cms:description i18n="false">Test Repeater</cms:description>
          <cms:add-label i18n="false">Add</cms:add-label>
          <cms:del-label i18n="false">Del</cms:del-label>
          <disable-conditions>
              <condition id="conditionField" operator="neq">true</condition>
          </disable-conditions>
      …
      </cms:metadata>
      
      
      

       

       

          [CMS-10766] make restrictions available on repeater

          Caroline Bayle added a comment -

          Les restrictions sur les repeaters ne prennent pas en compte ce qui dépend du type de contenu (voir ODF-2938)

          Caroline Bayle added a comment - Les restrictions sur les repeaters ne prennent pas en compte ce qui dépend du type de contenu (voir ODF-2938 )

          Splitting ticket in 2. This one is only about restriction now.

          Raphaël Franchet added a comment - Splitting ticket in 2. This one is only about restriction now.

          Ellapse / collapse button should be useable even if the widget is disabled.

          Bérénice Maurel added a comment - Ellapse / collapse button should be useable even if the widget is disabled.

          Disable fields are also concerned, not only disable-conditions but also for disabling on rights, workflow or other conditions, we should be able to disable the entire repeater to block the access to add, delete and reorder buttons (see ODF-2938).

          Bérénice Maurel added a comment - Disable fields are also concerned, not only disable-conditions but also for disabling on rights, workflow or other conditions, we should be able to disable the entire repeater to block the access to add, delete and reorder buttons (see ODF-2938 ).

            cbayle Caroline Bayle
            pgros Pierre Gros (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: