Download PrimeFaces ShowCase and Source Code

The PrimeFaces showcase is showing how to use the entire 100+ PrimeFaces components, which is impressive! Actually, you can download the entire PrimeFaces showcase web application (in war) and source code, and deploy on your local server for testing or further study. Here we show you how.

1. Visit Maven Repository

The entire PrimeFaces showcase “war” is available at its own PrimeFaces Maven repository.

2. War File

Unzip the War file with following jar command :


jar -xvf prime-showcase-1.0.0-SNAPSHOT.war 

Figure : PrimeFaces folder structure

Everything is here, study well and you will be a PrimeFaces expert soon :)

About the Author

author image
mkyong
Founder of Mkyong.com, love Java and open source stuff. Follow him on Twitter. If you like my tutorials, consider make a donation to these charities.

Comments

avatar
16 Comment threads
3 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
17 Comment authors
karebengGodwin ThayaSarikavalsarajElimane DIOP Recent comment authors
newest oldest most voted
Godwin Thaya
Guest
Godwin Thaya

Thanks

Sarika
Guest
Sarika

Hi,
how to deploy crude generated view from Prime faces on android mobile..what are steps are required for do that..i’m new for prime faces…pl’s post some example without maven..i’m working on windows 7 for netbean…is this framework is usefull to mobiles apps.

Appriciate your quick reply.

valsaraj
Guest
valsaraj

Hi,

I am getting the following error when I start JBoss 4.2.2 GA:

2014-02-04 14:58:27,489 ERROR [STDERR] Feb 04, 2014 2:58:27 PM org.primefaces.webapp.PostConstructApplicationEventListener processEvent

INFO: Running on PrimeFaces 4.0

I am using JSF version 2.2.4

Please let me know your comments.

Thanks in advance,

Valsaraj

Elimane DIOP
Guest
Elimane DIOP

Hi mKyong and thanks you for sharing this.
I follow your instruction and i am new in JSF and i get a java io exception

could not created directory?

Andreas Schwarz
Guest
Andreas Schwarz

Thanks!

Yousri BENDIABDALLAH
Guest
Yousri BENDIABDALLAH
barack
Guest
barack

Hello sir,please i already download and extract a war file(showcases) but i don’t know how to deploy it in netbeans.I have all the folders(from css upto WEB-INF),my problem is how to use it

Yurien Santos Valdes
Guest
Yurien Santos Valdes

Hi mkyong,

Where can I download the war of Primefaces Showcase 4?

mkyong
Guest
Sekar
Guest
Sekar

Hi MKYong,

Above URL is having only PF 3.5 Showcase and not the 4.0

Dhvanika
Guest
Dhvanika

Seems the latest show case is not updated at the mentioned link.

zilber
Guest
zilber

Thankss!!!!!

dibrut
Guest
dibrut

thanks alot.. i will Ctrl+D your site. (y)

fishburner
Guest
fishburner

hi… thanks for the post.

Can you please tell me how to deploy this war from eclipse to glassfish? every time i do… get the error as

Publishing failed
Could not publish to the server.
java.lang.NullPointerException
Could not publish to the server.
java.lang.NullPointerException
Could not publish to the server.

fishburner
Guest
fishburner

THANKS FOR YOUR KINDNESS…. I HAVE DONE IT MY SELF.

THANKS

fishburner
Guest
fishburner

Thanks a lot. Well I was successful in deploying the ‘war’ on glassfish… Now the problem is this that I have imported the war in eclipse and through eclipse i tried to deploy it on glassfish…. so that i can do changes easily and publish them automatically. But I failed.

Please tell me how should I deploy the war through eclipse on glassfish. Every time I deploy and get the same error on publishing saying Null pointer exception.

Thanks

karthik m
Guest
karthik m

Thanks s lot mkyong… for sharing..it will be use in offline..

Kristiano Fernandes
Guest
Kristiano Fernandes

Cara eu te amo, você é muito bom mesmo, sempre uso seus exemplos para o problema que tenho, so gostaria que tivesse uma tag dedicada somente a primefaces!!
Brigadão!

karebeng
Guest
karebeng

If you want to download Showcase Video to MP4, WMV, AVI, etc,you may try use allavsoft ,it can high-quality output file and the highest to download.