RichFaces Tutorial with features, configuration, architecture, a4j:log, a4j:ajax, learning Richfaces, you must have the basic knowledge of Basic Java and JSF. The next-generation JSF component framework by JBoss! The RichFaces project is an advanced UI component framework for easily integrating Ajax. The description relies on a simple JSF with RichFaces application creation process from “RichFaces Toolkit for developing Web application” video tutorial.

Author: Zolojind Samurisar
Country: Gabon
Language: English (Spanish)
Genre: Music
Published (Last): 24 May 2006
Pages: 248
PDF File Size: 10.28 Mb
ePub File Size: 20.40 Mb
ISBN: 919-4-82160-467-7
Downloads: 76567
Price: Free* [*Free Regsitration Required]
Uploader: Faele

This chapter describes all necessary actions and configurations that should be done for plugging the RichFaces components into a JSF appplication. The description relies on a simple JSF with RichFaces application creation process from yutorial the libraries to running the application in a browser. The process of application creation described here is common and does not depend on used IDE. To start with RichFaces in computer file system create new folder with name “RichFaces”, download and unzip the archive with binaries there.

For those who want to download and compile the RichFaces by themselfs there is an article at JBoss community that describes the RichFaces repository’s structure overview and some aspects of working with it.

RichFaces Tutorial

Create standard JSF 1. Go to the folder with unzipped earlier RichFaces binary files and open lib folder. After RichFaces libraries where added into the project it is necessary to register them in project web. Add following lines in web. For more information on how to work with RichFaces skins read ” Skinnabilty ” chapter.


The “RichFaces Greeter” application needs a managed bean. In project JavaSource folder create a new managed bean with name user in demo package and paste there the following simple code:. With the next step the user bean should be registered in faces-config.

The application uses three RichFaces components: For Facelets you should add the following lines for tag library declaration:. Run the application tytorial server. Point your browser to index.

In the first place you need to make sure that Maven is installed on you local machine. We will run the JSF application on Tomcat 6. Now we can move on to creating the application.

Tutorials for WildFly Application Server, Openshift, JBoss Projects and Enterprise Applications

To create the project structure and fill it with minimal content we will use the “maven-archetype-jsfwebapp” Maven archetype which is a part of RichFaces CDK. The “maven-archetype-jsfwebapp” archetype and the richfacfs itself require extra repositories to be provided, namely “http: This is the content of the profile:. It can be done like this:. Now you have everything to create the project using the “maven-archetype-jsfwebapp” archetype.

Chapter 3. Getting Started with RichFaces

Create a folder that will house your project and run the this command in richfcaes. Now go to “jsf-app” folder, it contains a project descriptor pom. The last three dependences add RichFaces libraries to the project. You can now build the project with the mvn install command.


The project can be built for Eclipse IDE with mvn eclipse: Then you can import the project into Eclipse. The project is configured and now you can start using RichFaces. Add some RichFaces component to the “index. Now ricfhaces the application on Tomcat server and open it in your favourite browser by pointing it to “http: Maven Resource Dependency Plugin Reference article discusses plugin configuration and usage.

Following links might be useful for those who already use this IDE and RichFaces for developing applications and those who wish to improve their development process:. Read “RichFaces installing and configuration” article to find out how to integrate RichFaces and Trinidad and possible problems that may occur while launching the RichFaces sample on jfs JBoss server.

This will launch the RichFaces Jira page – to complete your feedback please login if needed, and submit the Jira. Getting Started with RichFaces. Registering RichFaces in web.

Registering bean in faces-cofig. Adding RichFaces libraries into the project. Integration of RichFaces into Maven Project.