# Adding a Faces Context Factory

The faces-context-factory element contains the fully qualified class name of the concrete FacesContextFactory implementation class that will be called when FactoryFinder.getFactory(FACES_CONTEXT_FACTORY) is called.

To add a Faces context factory:

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 Faces Context Factory 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 Faces context factory is added to the list.

Faces Config Editor

Tutorial