This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 248437

Summary: JSF Editor does not recognize http://xmlns.jcp.org/jsf/passthrough for views in a JAR
Product: javaee Reporter: julianomqs
Component: JSF EditorAssignee: Martin Fousek <marfous>
Status: REOPENED ---    
Severity: normal    
Priority: P3    
Version: 8.0.1   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: demo with the issue

Description julianomqs 2014-11-05 19:06:25 UTC
Created attachment 150304 [details]
demo with the issue

JSF 2.2, Glassfish, NetBeans 8.0.1, Maven project, not using component library.

JSF Editor does not recognize http://xmlns.jcp.org/jsf/passthrough for views in a JAR.

I have a JAR with JSF views (with faces-config.xml and all). These views are used in a Web project (WAR).

Some views use the passthrough notation, like:
<h:inputText pt:type="number" />

NetBeans does not recognize this:
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:pt="http://xmlns.jcp.org/jsf/passthrough"> <-- this line is underlined in red

But the pages works well.
Comment 1 Martin Balin 2016-07-07 08:52:52 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss
Comment 2 appercel 2016-09-24 08:20:20 UTC
Both the namespaces http://xmlns.jcp.org/jsf and http://xmlns.jcp.org/jsf/passthrough are not recognized by NetBeans 8.2 RC for composite components in JAR.