HTML and CSS Reference
In-Depth Information
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
-DarchetypeArtifactId=richfaces-archetype-simpleapp -DarchetypeVersion=4.3.2.Final
-DgroupId=com.jsfprohtml5.richfacesapp -DartifactId=richFacesApp
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
structure.
richFacesApp
├── pom.xml
├── readme.txt
└── src
└── main
├── java
└── com
└── jsfprohtml5
└── richfacesapp
└── RichBean.java
└── webapp
├── index.xhtml
├── templates
└── template.xhtml
└── WEB-INF
├── faces-config.xml
└── web.xml
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.
Component Overview
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).
 
Search WWH ::




Custom Search