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 - JSF Editor does not recognize http://xmlns.jcp.org/jsf/passthrough for views in a JAR
Summary: JSF Editor does not recognize http://xmlns.jcp.org/jsf/passthrough for views ...
Status: REOPENED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF Editor (show other bugs)
Version: 8.0.1
Hardware: PC Windows 7
: P3 normal with 2 votes (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-05 19:06 UTC by julianomqs
Modified: 2016-09-24 08:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
demo with the issue (2.24 KB, application/octet-stream)
2014-11-05 19:06 UTC, julianomqs
Details

Note You need to log in before you can comment on or make changes to this bug.
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.