Uploaded image for project: 'MyFaces Tobago'
  1. MyFaces Tobago
  2. TOBAGO-1913

Enhance tobago-config.xsd: there should be an includes tag in resources tag

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 5.0.0-alpha-1, 5.0.0
    • Core
    • None

    Description

      Currenty, if resources are added to and removed from a theme the syntax in the configuration is like this:

      ...
            <resources production="true">
              <excludes>
                <script name="/bar.min.js"/>
                <style name="/bar.min.css"/>
              </excludes>
              <script name="/foo.min.js"/>
              <style name="/foo.min.css"/>
            </resources>
      ...
      

      It would be easier to read, if there is an "includes" tag, like the "excludes" tag.

      ...
            <resources production="true">
              <includes>
                <script name="/foo.min.js"/>
                <style name="/foo.min.css"/>
              </includes>
              <excludes>
                <script name="/bar.min.js"/>
                <style name="/bar.min.css"/>
              </excludes>
            </resources>
      ...
      

      Attachments

        Activity

          People

            lofwyr Udo Schnurpfeil
            lofwyr Udo Schnurpfeil
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: