Chapter 6. References

6.1. Wizards
6.1.1. New JSF project wizard
6.1.2. New Faces Config wizard
6.1.3. Additional wizard
6.2. Views
6.2.1. Web Projects View
6.2.2. Palette View
6.3. Preferences Pages
6.3.1. Preference Page A
6.3.2. Preference Page B
6.4. Dialogs
6.4.1. Dialog B
6.5. Icons and Buttons
6.5.1. Icons
6.5.2. Buttons

There are currently two wizards available in JBOSS Developer Studio JSF Tools. They include:

The user has the option to define a new faces-config.xml file and to register that file in the web.xml file. The use of this wizard is discussed in the following procedures:

Procedure 6.1. JBoss Developer Studio New - Other (Wizard Selection)

Procedure 6.2. New Faces Config

  1. Access the New - Select a wizard dialog

    1. Click on the Faces Config label by expanding the JBoss Tools WebJSF folders.

    2. Click the Next button to proceed.

    Result:

    The New Faces Config - Faces Config screen displays.

    Figure 6.2. JSF Tools New Faces Config


  2. Define the Project Attributes

    Define the JSF Project Attributes according to the options displayed in Table 6.1, “New Faces Config”



  3. Access the config file editor.

    Click the Finish button to complete the New Faces Config wizard.

    Result:

    The new file is opened in the Diagram view of the faces-config-*.xml editor.

    Figure 6.3. JSF Tools faces-config-*.xml editor


    faces-config-*.xml editor

    Futher details regarding the faces-config-*.xml editor are available in the following procedures:

Section Feedback
Section Feedback

The relevant perspective for JBoss Developer Studio JSF Tools is the Web Development perspective. This perspective can be chosen according to the following procedure.

Procedure 6.3. Open Perspective

  1. Access the Open Perspective dialog

    Select WindowOpen PerspectiveOther

    Result:

    The Open perspective dialog is displayed.

    Figure 6.4. Open Perspective dialog


  2. Select the perspective

    1. Highlight the required perspective.

    2. Click the OK button to proceed.

      Result:

      The user is returned to the main display with the development perspective changed to the selected type.

The following sections describe the views associated with the Web Development perspective.

The Web Projects view presents each web project in a format suitable for navigating through the various attributes of a typical web project such as Tag Libraries and web.xml properties. The Web Projects view is displayed in Figure 6.5, “Web Development Perspective - Web Projects View”

Figure 6.5. Web Development Perspective - Web Projects View


The components of that make up this view are described in the following list:

Web Development View - Web Projects Navigation

WebContent

This option lists the content deployed to the server. The available navigation options include:

  • OMIT THE SUB-ITEMS HERE AND JUST LINK TO ANOTHER DESCRIPTION AS THERE ARE MANY SUB-ITEMS FOR SOME NAVIGATION OPTIONS?

    META-INF: This folder includes the MANIFEST.MF file ......

  • pages: This folder lists the jsp pages which will be deployed to the server. Clicking on a jsp page renders the page in the jsp files editor Section 9.2.1, “Placeholder for a link”.

  • WEB-INF: This folder lists the classes for the project.

Tag Libraries

This option lists the tag libraries associated with the project. Clicking on a library file renders the file in the JBoss Tools Tag Library Editor Section 9.2.1, “Placeholder for a link”.

Resource Bundles

This option lists the resources associated with the project. Details are available in Section 9.2.1, “Placeholder for a link”

Configuration

This option lists the configuration settings (faces-config.xml) for the project. Clicking on a config file renders the file in the Faces Config Editor Section 9.2.1, “Placeholder for a link”.

Beans

This option lists the Beans defined within the project. Clicking on a Bean file renders the file in a standard Java file editor.

Tiles

This option lists the tiles associated with the project. Details are available in Section 9.2.1, “Placeholder for a link”

web.xml

This option lists the web.xml settings and parameters. Clicking on the web.xml label or any sub item, renders the file in the Web XML Editor Accessing the JSF configuration file editor.

Icons

The icons associated with the Web Projects view are listed in Table 6.3, “Web Development Perspective - Web Projects View”


Section Feedback

The Palette view is activated when a Java Server Page (.jsp) file is selected. The Web Projects view is displayed in Figure 6.5, “Web Development Perspective - Web Projects View”.

Figure 6.6. Web Development Perspective - Palette View


This view, by default, is comprised of the following tabs:

  • JBoss Ajax4jsf

  • JBoss RichFaces

  • JBoss Seam

  • JBoss Facelets

  • JBoss HTML

IT WILL BE OVERKILL TO LIST ALL OF THE TAGS WITH A DESCRIPTION FOR EACH (THERE ARE MANY). IT IS PREFERABLE TO PROVIDE A SAMPLE PROCEDURE ON HOW TO INSERT A TAG INTO A JSP PAGE.

These tabs refer to the tag set available for insertion into the jsp page. Once the tab is selected, the list will be expanded and a tag may be inserted as descibed in Section 9.2.1, “Placeholder for a link”

Further palettes may be selected by clicking on the Palette Editor icon listed in Table 6.4, “Web Development Perspective - Web Projects View”

Icons

The icons associated with the Web Projects view are listed in Table 6.4, “Web Development Perspective - Web Projects View”


Section Feedback
Section Feedback

NOT IMPLEMENTING THIS SECTION UNLESS WE DISCOVER A NEED FOR IT.

Section Feedback

NOT IMPLEMENTING THIS SECTION AS THIS IS COVERED IN PROCEDURES (MAY DISCOVER SOME NEED LATER PERHAPS).

Section Feedback

NOT IMPLEMENTING THIS SECTION AS ICONS COVERED IN THE VIEWS SECTION (BUTTONS ARE THE SAME AS ICONS? AGAIN PERHAPS IMPLEMENT BUTTONS LATER).

Section Feedback