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 255023

Summary: jsf auto generated index.xhtml shows an error where html tag is closed
Product: javaee Reporter: deepakgonda
Component: JSFAssignee: Petr Hejl <phejl>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P2    
Version: 8.0.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Screenshot of newly created JSF project , page is generated by netbeans ide
Screenshot of resonse.xhtml page ,with error ,this page is of sample project downloaded from netbeans website
Screenshot Netbeans code completion not working for jsf tags , says "No Suggestion"

Description deepakgonda 2015-09-05 04:01:44 UTC
Created attachment 155914 [details]
Screenshot of newly created JSF project , page is generated by netbeans ide

I have just created a new JSF project using Netbeans 8.0.2 using Framework JSF 2.2. The page index.xhtml get automatically generated shows error near the closing of html tag that some element is missing & also the code completion feature doesn't work ,it doesn't give any suggestions for JSF tags.

So I downloaded JSF sample project given at https://netbeans.org/projects/samples/downloads/download/Samples%252FJavaEE%252FjsfDemoCompleted.zip 
 
but this project shows the same error for jsf tags and code completion doesn't work here also.
Comment 1 deepakgonda 2015-09-05 04:05:38 UTC
Created attachment 155915 [details]
Screenshot of resonse.xhtml page ,with error ,this page is of sample project downloaded  from netbeans website
Comment 2 deepakgonda 2015-09-05 04:09:26 UTC
Created attachment 155916 [details]
Screenshot Netbeans code completion not working for jsf tags , says "No Suggestion"
Comment 3 Petr Hejl 2015-09-07 14:30:39 UTC
This happens only if you have enabled html error checking for the text/facelets mimetype and it works as expected.