Configuring an application to use RichFaces consists of two steps:
1. Adding JAR files to the web application.
2. Configuring the application's XML resources.
RichFaces is implemented as three JAR files, namely richfaces-api.jar, richfaces-impl.jar
, and richfaces-ui.jar
. Different versions of RichFaces may have the version number embedded in the file name (for example, richfaces-api-3.2.1.jar
).
These JAR files are to be added to an application's WEB-INF\lib
folder, in order to make use of RichFaces. In an application generated by SeamGen, this is done for you automatically when you create a new project.
In addition to ensuring that the RichFaces JAR files are on your web application's classpath, the application's web.xml
file needs to be configured. Within a Seam application, the only change that needs to be done to the web.xml
file, is to specify which application skin is...