-
Book Overview & Buying
-
Table Of Contents
JBoss Tools 3 Developers Guide
By :
A very useful facility of JSF Tools consists of an editor especially designed for managing everything that is related to the JSF main configuration file (faces-config.xml). You can start this editor like this:
1. Place the cursor in the Package Explorer view on your project node.
2. Expand your JSF project node: registerJSF| WebContent|WEB-INF.
3. Double-click on the faces-config.xml file.
When the editor is available, it will appear as in the screenshot shown below:

From this view, you can easily manage pages and transitions between the application's pages (navigation rules). You can create, modify, or delete a page/transition in just a few seconds, and you will always have a clear image of the application flow, thanks to the graphical representation mode.
As an example, let's create two pages named register.jsp and success.jsp. Usually, you would have had to edit these files by hand to describe the pages flow, but using Diagram...
Change the font size
Change margin width
Change background colour