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 - jsf auto generated index.xhtml shows an error where html tag is closed
Summary: jsf auto generated index.xhtml shows an error where html tag is closed
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF (show other bugs)
Version: 8.0.2
Hardware: All All
: P2 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-05 04:01 UTC by deepakgonda
Modified: 2015-09-07 14:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of newly created JSF project , page is generated by netbeans ide (113.52 KB, image/png)
2015-09-05 04:01 UTC, deepakgonda
Details
Screenshot of resonse.xhtml page ,with error ,this page is of sample project downloaded from netbeans website (126.04 KB, image/png)
2015-09-05 04:05 UTC, deepakgonda
Details
Screenshot Netbeans code completion not working for jsf tags , says "No Suggestion" (129.77 KB, image/png)
2015-09-05 04:09 UTC, deepakgonda
Details

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