Create new RichFaces Documentation Jira issue

This will launch the RichFaces Jira page - to complete your feedback please login if needed, and submit the Jira.

JBoss.orgCommunity Documentation

Chapter 2. Getting started

In order to download, build, modify, and deploy the Photo Album application you need to have the following installed and configured:

Once you have configured the environment you can install the Photo Album application:

Tip:

By default Photo Album is assembled with a limited set of images (4-5 in each album). In order to build the version of the application with a full set of images you need to use livedemo profile while building Photo Album like this:



mvn clean install -Plivedemo

Before starting Selenium test please make sure that you have Firefox browser installed on your local machine, as the Photo Album application is designed to be deployed and run on JBoss Application server, so please make sure that the <jboss.installer.url> property of the project pom.xml (examples/photoalbum/) points to an existing JBoss Application server copy.

You also need to build the Photo Album project in inexamples/photoalbum/resource.

Then, you need to go to the test folder of the project (examples/photoalbum/test/) and run the


...
mvn clean integration-test
...

By default Selenium tests are executed in the Firefox browser, hence you need to have it installed. If you configured everything like it is said above you will see tests being executed in the Firefox browser. When the tests are finished you can read test reports in the examples/photoalbum/tests/target/surefire-reports/ folder.

The Photo Album application was developed in the first place to demonstrate the mighty power of RichFaces thus most of UI elements in the application has a context help article that tells how a particular element works, providing technical details about it. A context help article is displayed when you click on the question mark icon ( ).