Prime Faces code completion in eclipse?

UI Components for JSF
Post Reply
Sadric
Posts: 5
Joined: 18 Feb 2010, 15:18

18 Feb 2010, 15:21

Hi guys,

I'm having a hard time getting code completion to work in Eclipse (ganymede) with prime faces (2.0.0). Not quite sure what I'm doing wrong, but I assume it has something to do with the taglibs not being picked up somewhere. Can anyone give me some pointers?

Thanks!
Last edited by Sadric on 18 Feb 2010, 15:25, edited 1 time in total.

Driton
Posts: 70
Joined: 20 Jan 2010, 12:12

18 Feb 2010, 15:25

Hi sadric,

please read this point into the Manual from Page 343 - 345.
In short for you :
Open in Eclipse Preferences - > General -> Content Types -> Text -> JSP and add *.xhtml extension to
the list...

Regards Toni

User avatar
Oleg
Expert Member
Posts: 3805
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

18 Feb 2010, 15:32

I use JBoss Tools as Eclipse PlugIn and its Palette. I've never changed Preferences - > General -> Content Types -> Text -> JSP. JBoss Tools and JSF works fine together.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin

Driton
Posts: 70
Joined: 20 Jan 2010, 12:12

18 Feb 2010, 15:54

Hi Oleg,
thats a good Idea! I'll try it also, thanks for your hint.

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

18 Feb 2010, 16:33

Trick in documentation is for plain Eclipse EE, if you have jboss tools, that would work as well, even better.

Sadric
Posts: 5
Joined: 18 Feb 2010, 15:18

19 Feb 2010, 09:52

Aha, I missed that bit in the manual, works like a charm now, thanks!

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

19 Feb 2010, 14:02

No worries, it is a huge document :)

wanted.alive
Posts: 10
Joined: 17 Dec 2010, 19:21

17 Dec 2010, 19:23

just don´t forget to open your file with the JSP Editor, because often we use another extension for files, like .xhtml.

just right click on file, Open With -> Other... -> JSP Editor


;) ;) ;)

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 26 guests