Skip to content

nabil-alhady/richfaces

 
 

Repository files navigation

RichFaces Project Logo

RichFaces 5 Build Status

The next-generation JSF component framework by JBoss, Red Hat

The RichFaces project is an advanced UI component framework for easily integrating Ajax capabilities into business applications using JSF.

Goal

Version 5

  • New approach to styling based on LESS
  • New components based on third-party widgets
  • Full JSF 2.2 Compatibility
  • Simplified Setup for Users
  • Smooth Migration from RF4 to RF5

Architecture Goals

  • Simplified Framework Build
  • Extensive Integration Testing
  • Fast Development (CDK) & Test Turnaround

see Roadmap for more information.

Project Info

LicenseLGPL v2.1
Build SystemMaven

Getting Started

In order to start with the project, you need just include the RichFaces JARs on the classpath using Maven dependency

<dependency>
    <groupId>org.richfaces</groupId>
    <artifactId>richfaces</artifactId>
    <type>pom</type>
</dependency>

or download the project ZIP distribution from Downloads Page.

Once you have the RichFaces JARs on the classpath, you can start developing by adding JSF page which includes RichFaces taglib from http://richfaces.org namespace:

<!DOCTYPE html>
<html lang="en"
	xmlns="http://www.w3.org/1999/xhtml"
	...
	xmlns:r="http://richfaces.org">

</html>

For more information on how to get started with the project, see Project Documentation.

Cloning the Project

$ git clone git@github.com:richfaces/richfaces.git

Building the Project

Prerequsities:

Building the project:

$ mvn clean install

Maven will build the project and execute unit tests, but it won't build distribution or execute integration tests.

Building Project Distribution

$ mvn clean install -Prelease

the ZIP distribution will be stored in dist/target/.

Read How to Contribute.

Developing the Project

How to Explore the Sources

All the sources related to RichFaces framework and component library are located in framework folder:

  • src/main/java
    • framework sources
    • JSF components under org.richfaces.ui package
  • src/main/resources/META-INF/resources
    • JavaScript and CSS resources

Examples such as RichFaces Showcase and Components Demo are stored in examples folder.

Developing the Project in IDE

Once you have built the project you can import framework and one of examples to the IDE.

If you are using Eclipse, you should use Import Existing Maven Project option.

How to Test the Project

RichFaces has extensive framework test suite which validates compatibility with various browsers and application servers.

For more information on how to run and develop this test suite, see Framework Tests document.

Running Smoke Tests

In order to effectively test the project with each code modification, you need to run at least framework's smoke tests:

$ mvn clean install -Dintegration=wildfly80 -Dsmoke

This will run the project tests against managed instance of WildFly 8.0 and test it on headless PhantomJS browser.

This step is also executed in the continuous integration job.

About

RichFaces 5 - The next-generation JSF component framework by JBoss, Red Hat

Resources

Stars

Watchers

Forks

Packages

No packages published