简体   繁体   中英

How can I make Netbeans 6.7 recognize JSF tags in facelets?

I would like to upgrade from Netbeans 6.5 to Netbeans 6.7. However, I've encountered an annoyance. Netbeans 6.5 recognizes jsf tags, but Netbeans 6.7 does not. Here are the screenshots:

Netbeans 6.7.1截图

Netbeans 6.5屏幕截图

Why isn't Netbeans 6.7.1 not recognizing and matching JSF tags?

Tools --> Options --> Miscellaneous --> Files . Then choose the File extension 'xhtml' and choose to associate it with file type (MIME) text/x-facelet-x-jsp

That should do it for you =)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM