Getting started with PrimeFaces.

PrimeFaces is a lightweight library with one jar, zero-configuration and no required dependencies. You just need to download PrimeFaces, add the primefaces-{version}.jar to your classpath and import the namespace to get started.


  1. <html xmlns="http://www.w3.org/1999/xhtml"  
  2.     xmlns:h="http://java.sun.com/jsf/html"  
  3.     xmlns:f="http://java.sun.com/jsf/core"  
  4.     xmlns:p="http://primefaces.org/ui">  
  5.   
  6.     <h:head>  
  7.   
  8.     </h:head>  
  9.       
  10.     <h:body>  
  11.       
  12.         <p:spinner />  
  13.           
  14.     </h:body>  
  15. </html>  

Share this

Related Posts

Previous
Next Post »