Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7588345
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T19:53:57+00:00 2026-05-30T19:53:57+00:00

I am using Prime Faces 2.2, but now i want to use Prime Faces

  • 0

I am using Prime Faces 2.2, but now i want to use Prime Faces 3. I downloaded the Prime faces3.1.1 jar and included it into my project. I am using Netbeans 6.9. Then i create a simple project and include the Prime Faces 3.1.1 jar and then tried the code

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html">
    <h:head>
        <title>Facelet Title</title>
    </h:head>
    <h:body>

        <p:inputTextArea id="inputarea" rows="5" cols="30"/> 

    </h:body>
</html>

But it is giving me error undeclared component:( Do i need to do something more in order to use Prime Faces 3 in my project. Also i want to ask is Prime Faces 3 is compatible with Prime Faces 2.2? One of my project is using Prime Faces 2.2. I also want to use Prime Faces 3 in that too. How can i update from Prime faces 2.2 to Prime Faces 3. Just including the Prime Faces 3.1.1 jar is enough?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T19:53:58+00:00Added an answer on May 30, 2026 at 7:53 pm

    1) You forgot to add the xmlns:p="http://primefaces.org/ui" into yourhtmltag
    and if you already taglibs you can add the xmlns:f="http://java.sun.com/jsf/core and xmlns:ui="http://java.sun.com/jsf/faceletsas well (you might use it later on)

    2) NO , you can’t use primefaces 2 and 3 in the same project and you can’t just replace the jars , follow this Migration Guide to 3.0
    for example , you can’t use the listeners of the components you used to in the 2.2 project , instead , use the p:ajax with the proper events

    also you should read in the User Guide about how to use the components you used to use in primefaces 2.2 project User Guide

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My question kind of applies to Prime Faces progress bar but any vanilla jsf
I am using PrimeFaces p:messages but I think this question applies equally to h:messages
I am using PrimeFaces <p:dataTable> with pagination. I use <h:selectBooleancheckbox> with a Map property
I want to know if it is possible to run a command programmatically using
I am making a webpage and Now i want to make a mobile version
I've read how to send parameters using JSF but what if the user types
I'm using PrimeFaces (3.2), but the question is related to Chrome I think. Everything
I´m currently exploring Prime faces, and I´m wondering how we can validate the selection
I'm using Primefaces for a project and I'm seeing bad results with IE vs
I have something like: <p:inputText...> <p:ajax event=keyup update=somefield listener=#{someBean.doSomething}/> </p:inputText> But I don't want

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.