You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org> on 2018/08/07 09:52:00 UTC

[jira] [Resolved] (TOBAGO-1913) Enhance tobago-config.xsd: there should be an includes tag in resources tag

     [ https://issues.apache.org/jira/browse/TOBAGO-1913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Udo Schnurpfeil resolved TOBAGO-1913.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 4.3.0

> Enhance tobago-config.xsd: there should be an includes tag in resources tag
> ---------------------------------------------------------------------------
>
>                 Key: TOBAGO-1913
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1913
>             Project: MyFaces Tobago
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Udo Schnurpfeil
>            Assignee: Udo Schnurpfeil
>            Priority: Minor
>             Fix For: 4.3.0
>
>
> Currenty, if resources are added to and removed from a theme the syntax in the configuration is like this:
> {code}
> ...
>       <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>
> ...
> {code}
> It would be easier to read, if there is an "includes" tag, like the "excludes" tag.
> {code}
> ...
>       <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>
> ...
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)