[
https://issues.apache.org/jira/browse/NETBEANS-5114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17275570#comment-17275570
]
Stephen Brooksbank commented on NETBEANS-5114:
----------------------------------------------
It's taken me some time to manage to reproduce this, so it must be a fairly
unusual set of circumstances that cause issues, but please find attached a
reproducer. To use it, please unpack into a folder, then open a command window
and type
{code:java}
mvn clean jetty:run
{code}
When Jetty has started, open a browser and navigate to
[http://localhost:8080/primefaces-test/] (The test has had primefaces removed,
despite the name. It's just standard JSF.)
On the first page you'll see a series of _warning_ JSF messages abou missing
namespace (see the picture). Same on the second (use button pwd).
Thanks for investigating.
> Generated ui:composition missing xmlns
> --------------------------------------
>
> Key: NETBEANS-5114
> URL: https://issues.apache.org/jira/browse/NETBEANS-5114
> Project: NetBeans
> Issue Type: Bug
> Components: javaee - JSF
> Affects Versions: 12.1
> Environment: Windows 10 / Netbeans 12.1
> Reporter: Stephen Brooksbank
> Assignee: Jakub Herkel
> Priority: Minor
> Labels: pull-request-available
> Attachments: image-2020-12-08-12-10-40-084.png, missingNamespace.zip,
> namespaceWarning.png
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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:
> !image-2020-12-08-12-10-40-084.png!
>
> 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.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists