[solved] Eclipse Content Assist with PrimeFaces 2.2

UI Components for JSF
Post Reply
mattes
Posts: 5
Joined: 12 Oct 2010, 14:46

07 Feb 2011, 14:01

When I replace the primefaces-2.2.RC2.jar in the WEB-INF/lib-Folder of my Dynamic Web Project in Eplipse 3.6.1 with the new primefaces-2.2.jar, I can't user Code assist for primefaces components in xhtml-Files isn't working any longer. That means if I type e.g. <p: and press ctrl + space, I don't get any Proposals.

If I switch back to primefaces-2.2.RC2.jar, it works fine again.

Does anyone have the same behaviour in his Eclipse Project or am I simply doing something wrong?
Last edited by mattes on 08 Feb 2011, 15:42, edited 1 time in total.

dark_prime
Posts: 46
Joined: 02 Dec 2010, 14:30

07 Feb 2011, 15:17

Certainly u have a deployment issue.


Have u tried to add the 2.2. to your project path?

Rightclick on your project

build path > configure build path > add jars > thenn add the new primefaces jar

dark_prime
Posts: 46
Joined: 02 Dec 2010, 14:30

07 Feb 2011, 15:18

And dont forget to clean your server and restart eclipse

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

07 Feb 2011, 15:42

Is it Helios you are using? Is JSF facet enabled?

mattes
Posts: 5
Joined: 12 Oct 2010, 14:46

07 Feb 2011, 15:44

Thanks for your reply.
Adding the jar to the Build File didn't help (also, it was already in the build path, because all libraries in the lib folder of WEB-INF are automatically added in Web App Libraries)
Restarting Eclipse and cleaning the project didn't help either.

Any more ideas?

mattes
Posts: 5
Joined: 12 Oct 2010, 14:46

07 Feb 2011, 16:29

@optimus.prime

Yes, I'm using Helios. JSF Facet hasn't been enabled. Enabling it did the trick. Thank you very much.

I'm just wondering why it worked with rc2 without enabling the facet.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 40 guests