Werner Punz created MYFACES-4478:
------------------------------------

             Summary: 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


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)

Reply via email to