JBoss Tools uses libs from the project classpath to provide content assist. But if there are no any JSF jars with proper TLDs/Facelet libs in the classpath of your Eclipse project then JBT uses default JSF libs registered in XML Catalog (see Window->Preferences->XML->XML Catalog) and those libs are from JSF 1.2.
The correct jars are in place in my WEB-INF/lib directory and in the Build Path for the project. That is to say, we have the following:
Shouldn't this work?
I was able to get it to work again with the following steps:
- Close Eclipse
- Delete all org.jboss.tools.* directories from .metadata/.plugins
- eclipse -clean
Now JSF2 content assist is functioning again, so I assume this is some sort of caching bug?
Looks like a bug... Could you create a jira? Don't forget add steps to reproduce the issue. Thanks.
I think I figured out what causes that problem.