Adding a View Handler

The view-handler element contains the fully qualified class name of the concrete ViewHandler implementation class that will be called during the Restore View and Render Response phases of the request processing lifecycle. The faces implementation must provide a default implementation of this class.

To add a view handler:

  1. Select faces-config.xml in the Project Explorer of the J2EE perspective.

    The JSF Application Configuration editor opens.

  2. Select the Other tab of the editor.

    The Other page appears.

  3. Expand the View Handler section.

  4. Click Add.

    The Find Type dialog box appears.

  5. Type the first letter of the type you want to use in the Select a type field.

    A list of available types beginning with the letter you typed appears in the Matching types list.

  6. Select the type that you want to use and click OK.

    The view handler is added to the list.


Related concepts


Related reference


Faces Config Editor

Related tasks

Tutorial