You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Petra Berg (Created) (JIRA)" <de...@myfaces.apache.org> on 2012/04/19 12:58:49 UTC

[jira] [Created] (MYFACES-3529) version 2.1.5 worked with path in resources library, version 2.1.7 doest not (only a name work) same for Composite Components in default location

version 2.1.5 worked with path in resources library, version 2.1.7 doest not (only a name work) same for Composite Components in default location 
--------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: MYFACES-3529
                 URL: https://issues.apache.org/jira/browse/MYFACES-3529
             Project: MyFaces Core
          Issue Type: Bug
          Components: General
    Affects Versions: 2.1.7
            Reporter: Petra Berg


In version 2.1.5 library resources could have bin located in cascaded sub-folders like e.g. resources/group/mylibrary and referenced in a page with: <h:graphicImage library="group/mylibrary" name="image.png">.
This does not work in version 2.1.7 any more. There you need to put the image file in a direct sub-folder of resources.
So the attribute 'library' is not a path but only a name.

Same situation with location of composite components. They need to be in a direct sub-folder of resources in version 2.1.7 while in version 2.1.5 it worked with cascaded sub-folders too. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (MYFACES-3529) version 2.1.5 worked with path in resources library, version 2.1.7 doest not (only a name work) same for Composite Components in default location

Posted by "Leonardo Uribe (Resolved) (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/MYFACES-3529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leonardo Uribe resolved MYFACES-3529.
-------------------------------------

    Resolution: Duplicate
      Assignee: Leonardo Uribe

This is a duplicate of MYFACES-3454. In few words, according to JSF 2.0 spec section 2.6.1.3 "Resource Identifiers", libraryName cannot contains path separator char. So, use "group/mylibrary" as libraryName is invalid. In MYFACES-3454 it is described two workarounds to this issue.
                
> version 2.1.5 worked with path in resources library, version 2.1.7 doest not (only a name work) same for Composite Components in default location 
> --------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-3529
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3529
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 2.1.7
>            Reporter: Petra Berg
>            Assignee: Leonardo Uribe
>
> In version 2.1.5 library resources could have bin located in cascaded sub-folders like e.g. resources/group/mylibrary and referenced in a page with: <h:graphicImage library="group/mylibrary" name="image.png">.
> This does not work in version 2.1.7 any more. There you need to put the image file in a direct sub-folder of resources.
> So the attribute 'library' is not a path but only a name.
> Same situation with location of composite components. They need to be in a direct sub-folder of resources in version 2.1.7 while in version 2.1.5 it worked with cascaded sub-folders too. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira