• Type: New Feature New Feature
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Facelets/VDL
    • Labels:


      In JSF 2.x there are composite components and Facelets tags. A prime difference between these two is that composite components become a component themselves in the component tree, while Facelets tags cause their "child" components to be inserted but they themselves do not become part of the tree.

      Both these two artifacts have their own unique use cases, and thus the newer composite component cannot totally replace the older Facelet tags.

      However, composite components being the more modern variant have several ease of use features such as the ability for being auto-registering when put into the /resources folder and the definition of its attributes directly into the defining .xhtml file.

      Since Facelets tags are still very useful in modern JSF programming, I'd like to request them being upgraded to support auto-registering and attribute definition in the .xhtml file as well.


      <ui:composition xmlns="" xmlns:ui="">
          <ui:attribute name="foo" />

      The above would register a Facelets tag just like the following in a -taglib.xml would do:



        arjan tijms created issue -
        Ed Burns made changes -
        Field Original Value New Value
        Assignee Ed Burns [ edburns ]
        Ed Burns made changes -
        Priority Major [ 3 ] Trivial [ 5 ]
        Ed Burns made changes -
        Priority Trivial [ 5 ] Minor [ 4 ]


          • Assignee:
            arjan tijms
          • Votes:
            3 Vote for this issue
            4 Start watching this issue


            • Created: