You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2013/05/30 21:40:20 UTC

[jira] [Resolved] (MYFACES-3677) Implement 'javax.faces.WEBAPP_RESOURCES_DIRECTORY'

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

Leonardo Uribe resolved MYFACES-3677.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.0
         Assignee: Leonardo Uribe
    
> Implement 'javax.faces.WEBAPP_RESOURCES_DIRECTORY'
> --------------------------------------------------
>
>                 Key: MYFACES-3677
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3677
>             Project: MyFaces Core
>          Issue Type: Task
>          Components: JSR-344
>            Reporter: dennis hoersch
>            Assignee: Leonardo Uribe
>             Fix For: 2.2.0
>
>         Attachments: MYFACES-3677-patch.txt
>
>
> Implement 'javax.faces.WEBAPP_RESOURCES_DIRECTORY' as described in JSF 2.2 spec
> "
> If this param is set, the runtime must interpret its value as a path, relative to the web app root, where resources are to be located. This param value must not start with a “/”, though it may contain “/” characters. If no such param exists, or its value is invalid, the value “resources”, without the quotes, must be used by the runtime as the value.
> "
> I was looking last week for a way to move the 'resources' folder to a non-public location and read about this parameter. As I can't find if it is already implemented in 2.2 I gave it a try.
> I updated 'DefaultResourceHandlerSupport' to contain and use that parameter to instantiate the 'ExternalContextResourceLoader'.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira