JBoss.orgCommunity Documentation

Chapter 7. RichFaces Support

7.1. Code Assist for RichFaces
7.2. OpenOn for RichFaces
7.3. RichFaces in the JBoss Tools Palette
7.4. Relevant Resources Links

JBoss Developer Studio comes with a tight integration with RichFaces component framework.

Note:

RichFaces 3.3.X is fully supported in the current version of JBoss Developer Studio and JBoss Tools 3.2.0.GA.

The following features are implemented and fully supported for the current version of the RichFaces components:

All you have to do is to download and install RichFaces libraries into your project, i. e. just put richfaces-*.jar files into the /lib project folder. For more information on how to get started with RichFaces, please read the RichFaces documentation.

JBoss Developer Studio provides code completion for RichFaces framework components.

Tip:

RichFaces 3.3.X is now fully supported in code completion.


While working with JSP and XHTML pages in the Visual Page Editor you can also take the advantage of the OpenOn feature with RichFaces components.

For example, the Richfaces tags <rich:insert> and <a4j:include> have OpenOn support.



OpenOn is also supported in "ForID"-like attributes (the attributes, where the value should be ID or the list of IDs) in RichFaces.


RichFaces and Chapter 5, JBoss Tools Palette.


The JBoss RichFaces menu in the JBoss Tools Palette contains all items relevant for RichFaces 4, by default. If you are using RichFaces 3 or earlier, you will need to add the RichFaces 3 menu item to the JBoss Tools Palette through the Show/Hide menu. To access this menu see Section 5.1.2, “Show/Hide”.


To insert a RichFaces component on a page:

  • expand JBoss RichFaces group on the palette

  • click on some component

  • put the needed attributes in the Insert Tag dialog and click Finish button


The RichFaces component will be inserted on your page and displayed in the Source and Visual modes:


To get more in-depth information on RichFaces framework refer to the RichFaces Developer Guide.

It may be also helpful for you to view the movies that demonstrate the usage of RichFaces components.