[
https://issues.jboss.org/browse/RF-12884?page=com.atlassian.jira.plugin.s...
]
Cody Lerum edited comment on RF-12884 at 4/3/13 5:14 PM:
---------------------------------------------------------
{code}#{facesContext.application.resourceHandler.createResource('ZeroClipboard.swf',
'com.outjected.jsf').requestPath} is a workaround.{code}
was (Author: clerum):
#{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