[richfaces-issues] [JBoss JIRA] (RF-12884) Provide CDK EL function to give path to resouce
Cody Lerum (JIRA)
jira-events at lists.jboss.org
Wed Apr 3 17:15:43 EDT 2013
[ https://issues.jboss.org/browse/RF-12884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12764785#comment-12764785 ]
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
More information about the richfaces-issues
mailing list