[
https://issues.jboss.org/browse/RF-12884?page=com.atlassian.jira.plugin.s...
]
Cody Lerum commented on RF-12884:
---------------------------------
#{facesContext.application.resourceHandler.createResource('ZeroClipboard.swf',
'com.outjected.jsf').requestPath} is a workaround.
Provide CDK EL function to give path to resouce
-----------------------------------------------
Key: RF-12884
URL:
https://issues.jboss.org/browse/RF-12884
Project: RichFaces
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: cdk
Reporter: Cody Lerum
Fix For: 4.3.2
CDK EL should support providing the path to a resouce so that
{code}#{resource['com.outjected.jsf:ZeroClipboard.swf']}{code}
would resolve to
/myapp/javax.faces.resource/ZeroClipboard.swf.jsf?ln=com.outjected.jsf
if the context root was "myapp" and the url-pattern was *.jsf
/myapp/javax.faces.resource/ZeroClipboard.swf.xhtml?ln=com.outjected.jsf
if the context root was "myapp" and the url-pattern was *.xhtml
--
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