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 2010/09/10 17:35:32 UTC

[jira] Created: (TOBAGO-913) ResourceManager should prefer application resources

ResourceManager should prefer application resources
---------------------------------------------------

                 Key: TOBAGO-913
                 URL: https://issues.apache.org/jira/browse/TOBAGO-913
             Project: MyFaces Tobago
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.0.28
            Reporter: Udo Schnurpfeil
            Assignee: Udo Schnurpfeil


The ResourceManager should prefer resources like images or CSS which are resident directly in the web application folder, before the resources in  the resources search tree.
The advantage is a very simple mechanism to adjust the default behavior.

This change will impact the behavior of old application, so we activate it with a configuration parameter in Tobago 1.0.x and setting this as default in Tobago 1.5.x.
To enable this feature use the new DTD and set fix-resource-order to true:

<!DOCTYPE tobago-config PUBLIC
    "-//The Apache Software Foundation//DTD Tobago Config 1.0.29//EN" "tobago-config_1_0_29.dtd">

<tobago-config>
  <fix-resource-order>true</fix-resource-order>
</tobago-config>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (TOBAGO-913) ResourceManager should prefer application resources

Posted by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TOBAGO-913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Udo Schnurpfeil resolved TOBAGO-913.
------------------------------------

    Resolution: Fixed

> ResourceManager should prefer application resources
> ---------------------------------------------------
>
>                 Key: TOBAGO-913
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-913
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.28
>            Reporter: Udo Schnurpfeil
>            Assignee: Udo Schnurpfeil
>             Fix For: 1.5.0-alpha-2, 1.0.29, 1.5.0
>
>
> The ResourceManager should prefer resources like images or CSS which are resident directly in the web application folder, before the resources in  the resources search tree.
> The advantage is a very simple mechanism to adjust the default behavior.
> This change will impact the behavior of old application, so we activate it with a configuration parameter in Tobago 1.0.x and setting this as the normal behavior in Tobago 1.5.x (not configurable).
> To enable this feature use the new DTD and set fix-resource-order to true:
> <!DOCTYPE tobago-config PUBLIC
>     "-//The Apache Software Foundation//DTD Tobago Config 1.0.29//EN" "tobago-config_1_0_29.dtd">
> <tobago-config>
>   <fix-resource-order>true</fix-resource-order>
> </tobago-config>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.