newk5 opened a new issue #3786:
URL: https://github.com/apache/netbeans/issues/3786


   ### Apache NetBeans version
   
   Apache NetBeans 13
   
   ### What happened
   
   Netbeans 13 no longer recognizes the JSF tag "ui:composition" in xhtml files 
or even any other JSF related tags. Autocomplete suggestions on any JSF 
components, JSTL tags, or even simple bean property or method suggestions are 
also broken, for some reason it keeps suggesting attributes from angularJS?  We 
use netbeans primarily for JSF development and unfortunately this makes 
Netbeans 13 unusable. This did not happen in Netbeans 12.6 so for now we have 
to go back to that version. Hopefully this can be fixed, otherwise netbeans is 
no longer viable option to use for any JSF development.
   
   
   
   
   ### How to reproduce
   
   Open a XHTML file and press CTRL+SPACE on any JSF related tag, or even on a 
bean expression. Autocomplete either doesn't show, (says "No results") or just 
doesn't show any attributes of that JSF component/properties of that bean. You 
can also open any XHTML file which uses the "<ui:composition>" tag, and 
netbeans wont be able to recognize it (see screenshots below)
   
   ### Did this work correctly in an earlier version?
   
   Apache NetBeans 12.6
   
   ### Operating System
   
   ElementaryOS 6.1 (based on Ubuntu 20.04.3) (also tested on windows, same 
issue)
   
   ### JDK
   
   JDK17 Temurin-17.0.2+8
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   About the ui:composition tag, If this line is present 
   ```
   <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
   ```
   It looks like this:
   
![image](https://user-images.githubusercontent.com/32560510/158479179-a1c8d504-65e4-40c7-b0c1-b19df946d4c5.png)
   
![image](https://user-images.githubusercontent.com/32560510/158479245-9f2a127a-30df-4915-9f77-ff92109ffa78.png)
   
   If I remove that line, it looks like this:
   
![image](https://user-images.githubusercontent.com/32560510/158480289-3fedf69a-b9a3-40e4-88f8-a5236684a7f1.png)
   
   
![image](https://user-images.githubusercontent.com/32560510/158480869-62632f77-d862-4464-a7b5-51f68ec40423.png)
    
   But even then, the autocomplete suggestions are still broken.
   
   If you need more information from me, please let me know.
   
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
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

Reply via email to