[ https://issues.apache.org/jira/browse/MYFACES-3110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leonardo Uribe resolved MYFACES-3110. ------------------------------------- Resolution: Fixed Assignee: Leonardo Uribe > Allow use the same library for a composite component for resources defined > inside it (resolve #{resource['this:...']} ) > ----------------------------------------------------------------------------------------------------------------------- > > Key: MYFACES-3110 > URL: https://issues.apache.org/jira/browse/MYFACES-3110 > Project: MyFaces Core > Issue Type: Task > Components: JSR-314 > Affects Versions: 2.1.0-SNAPSHOT > Reporter: Leonardo Uribe > Assignee: Leonardo Uribe > Fix For: 2.1.0 > > > In JSF 2.1 now it is possible to do this: > mycompositecomponent.xhtml > <cc:implementation> > <h:commandButton image="#{resource['this:myimage.jpg']}"/> > </cc:implementation> > note the word 'this' on the EL expression -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira