myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (MYFACES-3677) Implement 'javax.faces.WEBAPP_RESOURCES_DIRECTORY'
Date Thu, 30 May 2013 19:38:20 GMT

    [ https://issues.apache.org/jira/browse/MYFACES-3677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13670635#comment-13670635
] 

Leonardo Uribe commented on MYFACES-3677:
-----------------------------------------

Just for the record, the patch was committed while fixing MYFACES-3729. 
                
> 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
>         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

Mime
View raw message