facebook

Installing primefaces 5.0

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #353001 Reply

    bezoubios
    Member

    Hello,
    I can not find a way to install primefaces 5.0 on myEclipse v2014.

    Please help

    Thanks
    Andreas

    #353002 Reply

    Andreas,

    I have tried creating an JSF/Primefaces and Spring Scaffolding application following this tutorial.

    After performing the steps mentioned in the tutorial, you need to follow these steps to upgrade to latest version of Primefaces :
    1) Download primefaces-5.1.jar from here
    2) Go to Project buildpath > libraries tab. Remove Primeface 3.x jar and add primefaces-5.1.jar by clicking on “Add External JARs..” button. Also add the primefaces-5.1.jar file to the project/WEB-INF/lib folder.
    3) Open web.xml file and remove the Primefaces ResourceServlet altogether from web.xml because ResourceServlet was maintained as part of PrimeFaces 2.x. The Primefaces 3.x and later versions does not require any entries in web.xml. Also, don’t forget to remove the Primefaces Resource servlet mapping from web.xml.
    4) Change the Namespace of Primefaces in all xhtml files to xmlns:p=”http://primefaces.org/ui”
    5) To check if Primefaces is upgraded, Open listCustomers.xhtml file and add <p:inputSwitch></p:inputSwitch> tag.(<p:inputSwitch> is the New component added in Primefaces 5.1)
    6) Run the application and check if you can see the switch in the Manage Customers list.

    Please take a look at this document on what components were added in Primefaces 5.1 – http://blog.primefaces.org/?p=3302

    Let us know how it works for you.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Installing primefaces 5.0

You must be logged in to post in the forum log in