Ecplise autocomplete primefaces tags
Solution 1
I've blogged about Helios support, that might help;
http://cagataycivici.wordpress.com/2010/08/31/primefaces-support-in-eclipse-helios/
Solution 2
I had the same problem and none of the solutions posted solved (i already had primefaces jar in my classpath).
I use a eclipse project format, and in the .settings folder, the file "org.eclipse.wst.common.project.facet.core.xml" had this properties:
<installed facet="jst.jsf" version="1.2"/>
<installed facet="jst.web" version="2.5"/>
I changed to:
<installed facet="jst.jsf" version="2.0"/>
<installed facet="jst.web" version="3.0"/>
And it worked. Sure it was a wrong configuration, but can be useful to someone. Ps: these properties can be changed in project facets on eclipse project properties, but in some cases it´s better change directly in the file.
Dejell
I like traveling around the world. So far I have been to: USA England Italy Slovania Croatia Jordan South Africa Zimbabwe Botswana France Canada Israel Thailand Switzerland Holland Bulgaria I am going to Vietnam soon
Updated on July 30, 2022Comments
-
Dejell almost 2 years
I am using Eclipse to work with PrimeFaces like this:
<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:p="http://primefaces.prime.com.tr/ui" template="/template/ui.xhtml">
I saw Bozho question and answer.
So it works for me only for h and f tags and not for p (primefaces) tag! How can it autocomplete primefaces tag?
-
Dejell over 13 yearsI was using the demo war - primefaces-rc1. so please add it to it as well.
-
Pier Luigi over 12 yearsIn Indigo SR1 tag autocompletion works fine for PrimeFaces 3.0M3, but not for latest (m4) release. A bug?