Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to use RichFaces component in MyFaces projects?

 
peter tong
Ranch Hand
Posts: 250
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to use some RichFaces components
in a MyFaces project, what should I do?
can I just copy the richfaces-ui-3.2.1.GA.jar,
neglect the richfaces-impl-3.2.1.GA.jar,
richfaces-api-3.2.1.GA.jar
and still use myfaces-api-1.2.5.jar,
myfaces-impl-1.2.5.jar, myfaces-shared-impl-3.0.5.jar
in my existing MyFaces project?
 
Tim Holloway
Bartender
Posts: 18419
60
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your best bet is to read the RichFaces documentation, since the exact requirements vary depending on the application server and server version that you're deploying to.

Here's a Maven POM for a project that uses RichFaces. If you're not using Maven, just include the RichFaces dependencies that have a scope of "compile" or no explicit scope. Scope "provided" means that the server provides the resource, though I don't think any of the RichFaces stuff falls in that category.

http://www3.mousetech.com/cgi-bin/viewvc.cgi/jtaonthemove/pom.xml?root=cvs&view=markup

Note that Maven automatically pulls in the dependencies of dependent objects, so this list may not be complete. Again, the RichFaces documentation is your authority on the subject.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!