HTML and CSS Reference
After creating and activating jboss-public-repository , the project can be generated with the
richfaces-archetype-simpleapp archetype. In order to do this, create a new directory for your project, then run
the following Maven command in the directory:
mvn archetype:generate -DarchetypeGroupId=org.richfaces.archetypes
The -DgroupId parameter can be used in order to define the package for the application managed beans while
-DartifactId can be used in order to define the name of the project.
The previous richfaces-archetype-simpleapp command generates a new RichFaces project with the following
│ └── com
│ └── jsfprohtml5
│ └── richfacesapp
│ └── RichBean.java
│ └── template.xhtml
This is all you need in order to create RichFaces application; now, you can build your generated Maven project
using the normal mvn install command.
RichFaces has more than 40 UI components that can be used in order to create rich Web 2.0 applications. Going into
the details of these components is outside the scope of this topic. However, we will give a short listing for some of
these components in Table 9-3 for your reference sorted alphabetically according to RichFaces documentation
(note that all of these components are part of the rich tag library).