myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Kurz (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Updated] (MYFACES-3725) JSF 2.2: Custom webapp resources dir with javax.faces.WEBAPP_RESOURCES_DIRECTORY
Date Thu, 16 May 2013 21:03:17 GMT

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

Michael Kurz updated MYFACES-3725:
----------------------------------

    Status: Patch Available  (was: Open)
    
> JSF 2.2: Custom webapp resources dir with javax.faces.WEBAPP_RESOURCES_DIRECTORY
> --------------------------------------------------------------------------------
>
>                 Key: MYFACES-3725
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3725
>             Project: MyFaces Core
>          Issue Type: New Feature
>            Reporter: Michael Kurz
>         Attachments: MYFACES-3725.patch
>
>
> The JSF 2.2 adds the new context parameter javax.faces.WEBAPP_RESOURCES_DIRECTORY to
specify a custom resources directory that is used instead of /resources.
> The strange thing in the spec is, that the JavaDoc for ResourceHandler.WEBAPP_RESOURCES_DIRECTORY_PARAM_NAME
defines, that the specified value must not start with a '/'. This is also pointed out in JAVASERVERFACES_SPEC_PUBLIC-996
(see [1]) but unfortunately not answered. Even stranger as setting this parameter in a web
app with Mojarra only works if it starts with '/'.
> [1]: https://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-996

--
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