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: Fixed
    • Icon: Major Major
    • 4.9.0
    • None
    • None
    • None
    • 4.9.0 M9
    • 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>
      

       

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

          There are no comments yet on this issue.

            cbayle Caroline Bayle
            cbayle Caroline Bayle
            Caroline Bayle Caroline Bayle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: