This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JSF and the fly likes Problem: JSF with PrimeFaces Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Problem: JSF with PrimeFaces" Watch "Problem: JSF with PrimeFaces" New topic
Author

Problem: JSF with PrimeFaces

Faisal Fuad
Ranch Hand

Joined: Jul 05, 2011
Posts: 76

Hi everyone, please help me to find my mistake. I was trying to run simple "Hello World" PrimeFaces example as explained in their doc but couldn't run successfully.

In PrimeFaces Doc 3.3 it says I should be able to run the following code after confirming two dependencies such as "Java 5+ runtime" and "JSF 2.x"

Now, my config is as follows:
Eclipse: INDIGO
Server: Websphere 7
Project Facets: JavaServer Faces 2.0
Java Build Path:
-JSF 2.0 (Apache Myfaces JSF Core-2.0 API 2.0.2)
-JSTL : jstl-api-1.2.jar, jstl-impl-1.2.jar
-Primefaces: primefaces-3.3.1.jar
Simple web.xml is as follows:

faces-config.xml is as follows:

And finally "index.jsp" page is as follows:
When I am running the application by going to this URL: (http://localhost:9089/Perfectgaces/faces/index.jsp) seeing only "Hello World !" but no rich text editor from primefaces-3.3.1.jar

Where I am doing the mistake? Thanks a lot
=================
Ok.....I am seeing these two exceptions in console. Any clue?


 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Problem: JSF with PrimeFaces
 
Similar Threads
everything I put between <h:xxx> is invisible :0
No nothing works
Starting a JSF 2.0 project with PrimeFaces 2.2. M1 and Glassfish 3.0
JSF 2.0 Session Scope not working - same session bean for multiple browsers
Error with JBoss and JSF(My Page does not work)