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

[Disable conditions] Add a way to get conditions that do not depend on another content's data

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.9.0
    • None
    • None
    • None
    • 4.9.0 M8
    • Oui

      We want to be able to have external conditions, that will use specific java class. This class can check whatever it wants to evaluate the condition

      Exemple of such a disable condition:
       

      <attribute name="illustration" type="composite">
          <label>Illustration</label>
          <description>Illustration</description>
          <disable-conditions>
              <condition class="org.ametys.cms.content.TestDisableCondition" disabled="true"/>
          </disable-conditions>
          [...]
      </attribute>
      

       

            cedric Cédric Damioli
            cbayle Caroline Bayle
            Caroline Bayle Caroline Bayle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: