You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Thomas Andraschko (Jira)" <de...@myfaces.apache.org> on 2022/12/08 09:57:00 UTC

[jira] [Commented] (MYFACES-4478) namespace bug for faces 4.0 and composite components

    [ https://issues.apache.org/jira/browse/MYFACES-4478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17644706#comment-17644706 ] 

Thomas Andraschko commented on MYFACES-4478:
--------------------------------------------

[~werpu] is it a duplicate of https://issues.apache.org/jira/browse/MYFACES-4484 ?

> namespace bug for faces 4.0 and composite components
> ----------------------------------------------------
>
>                 Key: MYFACES-4478
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4478
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 3.0.0-RC1
>         Environment: normal servlet environment
>            Reporter: Werner Punz
>            Priority: Minor
>
> Composite Components atm only work in the 
> [http://xmlns.jcp.org/jsf/composite/] namespace but not in the 
> jakarta.faces.composite namespace, as required per Faces 4.0 spec.
>  
> I will link an example in a later comment once setup which shows this behavior
> a composite component hostet under webapp/resources is found in the jcp namespace but not in the new jakarta faces namespace, so: 
> components="jakarta.faces.composite/components" produces following error:
>  * Warning: The page /integrationtestsjasmine/test1-protocol.xhtml declares namespace jakarta.faces.composite/components and uses the tag components:jasmineTest , but no TagLibrary associated to namespace.
> on
>  
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:h="jakarta.faces.html"
> xmlns:ui="jakarta.faces.facelets"
> xmlns:components="jakarta.faces.composite/components"
> >
>  
> <components:jasmineTest testRunner="./test1-protocol.js" />
> The namespace 
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:h="jakarta.faces.html"
> xmlns:ui="jakarta.faces.facelets"
> xmlns:components="http://xmlns.jcp.org/jsf/composite/components"
> >
>  
> Produces no error.
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)