Adding an Action Listener

The action-listener element contains the fully qualified class name of the concrete ActionListener implementation class that is called during the Invoke Application phase of the request processing lifecycle

To add an action listener:

  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 Action Listener section.

  4. Click Add.

    The Find Type dialog box opens.

  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 action listener is added to the list.


Related concepts


Related reference


Faces Config Editor

Related tasks

Tutorial