Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse autocomplete (content assist) with jsf2.0, xhtml and primefaces 2.2.RC1 [duplicate]

I use windows 7. I set the ClassPath like this:

D:\EclipseProjects\DLFWD_NEW\WebContent\WEB-INF\lib\jsf-api.jar;D:\EclipseProjects\DLFWD_NEW\WebContent\WEB-INF\lib\jsf-impl.jar;D:\EclipseProjects\DLFWD_NEW\WebContent\WEB-INF\lib\primefaces-2.2.RC1.jar

And I alse do this:

Window > Preferences > General > Content Types > Text > JSP > Add (xhtml)

But, it doesn't works.


When I use netbeans. I do nothing, but the autocomplete function works well.

like image 661
Keating Avatar asked Nov 28 '10 02:11

Keating


1 Answers

First backup your project in other location.

Download Eclipse Helios and right click on the your Project, goto Properties go to Project Facets change the Configuration to JavaServer Faces 2.0 Project Apply.

like image 112
Ali Irawan Avatar answered Oct 10 '22 09:10

Ali Irawan