Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-5114

Generated ui:composition missing xmlns

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 12.1
    • None
    • javaee - JSF
    • Windows 10 / Netbeans 12.1

    Description

      When generating a facelets client page using:

      new --> Facelets Template Client --> ui:composition option

      the generated file is missing:

      {{xmlns="http://www.w3.org/1999/xhtml" }}

      namespace from the ui:composition header tag:

       

      This causes page errors as soon as standard HTML tags are added to the page, such as <h1>.

      Please correct the template generation code for this case. Thanks.

       

      Attachments

        1. namespaceWarning.png
          15 kB
          Stephen Brooksbank
        2. missingNamespace.zip
          345 kB
          Stephen Brooksbank
        3. image-2020-12-08-12-10-40-084.png
          12 kB
          Stephen Brooksbank

        Issue Links

          Activity

            People

              jherkel Jakub Herkel
              Steve B Stephen Brooksbank
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h