Eclipse content assistent

UI Components for JSF
Post Reply
membersound
Posts: 74
Joined: 10 Feb 2012, 16:48

10 Feb 2012, 16:51

Hi,

what do I have to do in order to activate Primefaces auto complete / content assistent in Eclipse?
I tried primefaces including as external library as well as maven import; project properties have facets active: Dynamic web module 3.0, JSF 2.0 (library disabled).

What else can I do? All other conent assistent works fine (ajax, richfaces, etc).

thnx
PF 3.2, JBoss AS 7, Seam 3, Eclipse 3.7, JEE6

tandraschko
PrimeFaces Core Developer
Posts: 3979
Joined: 03 Dec 2010, 14:11
Location: Bavaria, DE
Contact:

10 Feb 2012, 17:17

Which PF version? 3.0+ delivers an taglib, so auto complection can be done.

Eclipse support for this things is very bad. It only worked with JBosss Tools for me.
Thomas Andraschko

PrimeFaces | PrimeFaces Extensions

Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE

Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko

membersound
Posts: 74
Joined: 10 Feb 2012, 16:48

10 Feb 2012, 17:25

Tried both stable 3.1 and 3.2SNAPSHOT...

Could you hint me to this "taglib" thing? What do I have to do to achieve content assistent?
PF 3.2, JBoss AS 7, Seam 3, Eclipse 3.7, JEE6

tandraschko
PrimeFaces Core Developer
Posts: 3979
Joined: 03 Dec 2010, 14:11
Location: Bavaria, DE
Contact:

10 Feb 2012, 17:47

I just said: PrimeFaces already delivers a taglib, so eclipse SHOULD/CAN do auto completion.

Install JBoss Tools and it will work.
Thomas Andraschko

PrimeFaces | PrimeFaces Extensions

Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE

Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko

membersound
Posts: 74
Joined: 10 Feb 2012, 16:48

10 Feb 2012, 17:58

Omg I took the wrong namespace (out of any obv old tutorial):
xmlns:p="http://primefaces.prime.com.tr/ui"

The proper is:
xmlns:p="http://primefaces.org/ui"

thnx, hope that will help others too.
PF 3.2, JBoss AS 7, Seam 3, Eclipse 3.7, JEE6

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 54 guests