Problem with Primefaces 2.2 RC1

UI Components for JSF
Post Reply
k0v4k
Posts: 5
Joined: 26 May 2010, 11:18

02 Dec 2010, 17:43

Hi, i'm trying to put the library primefaces 2.2 RC1, with this tag

Code: Select all

<%@ taglib prefix="p" uri="http://primefaces.prime.com.tr/ui"%>
But i have the next problem,

- Can not find the tag library descriptor for "http://
primefaces.prime.com.tr/ui"

I think that i have the proper configuration on the web.xml, but i don't know to do to fix it.

Thank you!

PS: Sorry for my english :oops:

ethermion
Posts: 117
Joined: 25 Aug 2010, 15:11

02 Dec 2010, 18:18

Don't use jsp, use facelets. JSP for JSF is deprecated and going to give you only troubles.

<f:view 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"
contentType="text/html" >

And, you don't need anything in your web.xml for Primefaces. Just make sure the jar file is in WEB-INF/lib.

The documentation is a bit confusing for now.

Also note that the current primefaces is 2.2RC2...

-e
Mojarra 2.2.8
Primefaces 5.1
Wildfly 8.2

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 32 guests