[
https://issues.jboss.org/browse/RF-11475?page=com.atlassian.jira.plugin.s...
]
Lukáš Fryč commented on RF-11475:
---------------------------------
Brian, I have tried that:
{code}
ResourceHandler resourceHandler = facesContext.getApplication().getResourceHandler();
return resourceHandler.createResource(resourceName).getRequestPath();
{code}
It works simply with directly addressed resources (CSS/JS),
but images which are linked from CSS stylesheets are not dynamic
and similary to rich:editor resources, we can't handle suffix-based servlet mappings.
Static resources must be served through ResourceServlet
-------------------------------------------------------
Key: RF-11475
URL:
https://issues.jboss.org/browse/RF-11475
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: core
Affects Versions: 4.1.0.Milestone3
Reporter: Lukáš Fryč
Assignee: Lukáš Fryč
Fix For: 4.1.0.Milestone3
Static resources are served using standard JSF resource servlet.
Since their resources can't map to resource by FacesServlet mappings, they need to
be served on known URL.
For this feature, ResourceServlet mapped to /org.richfaces.resources/ can be used.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira