Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-4478

namespace bug for faces 4.0 and composite components

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.0-RC1
    • 4.0.0-RC2
    • General
    • None
    • normal servlet environment

    Description

      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.

       

       

      Attachments

        Activity

          People

            volosied Volodymyr Siedlecki
            werpu Werner Punz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: