-
1. Re: Content assist stuck on JSF1
akazakov Jun 24, 2011 2:51 PM (in response to vace117)Hello Val,
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.
-
2. Re: Content assist stuck on JSF1
vace117 Jun 24, 2011 3:00 PM (in response to akazakov)Hi, Alexey.
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:
- jsf-api-2.1.2.jar
- jsf-impl-2.1.2.jar
- richfaces-core-api-4.0.0.Final.jar
- richfaces-core-impl-4.0.0.Final.jar
- richfaces-components-api-4.0.0.Final.jar
- richfaces-components-ui-4.0.0.Final.jar
Shouldn't this work?
-
3. Re: Content assist stuck on JSF1
vace117 Jun 24, 2011 3:02 PM (in response to akazakov)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?
-
4. Re: Content assist stuck on JSF1
akazakov Jun 24, 2011 4:16 PM (in response to vace117)Looks like a bug... Could you create a jira? Don't forget add steps to reproduce the issue. Thanks.
-
5. Re: Content assist stuck on JSF1
vace117 Jun 24, 2011 6:21 PM (in response to akazakov)jira created: https://issues.jboss.org/browse/JBIDE-9256
-
6. Re: Content assist stuck on JSF1
akazakov Jun 24, 2011 6:35 PM (in response to vace117)Thank you.
-
7. Re: Content assist stuck on JSF1
akazakov Jun 25, 2011 4:10 PM (in response to vace117)Val, please see my last comment https://issues.jboss.org/browse/JBIDE-9256?focusedCommentId=12611092&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12611092
I think I figured out what causes that problem.