Adding JSF component interface support to an EGL web project

Before you can access JavaServer Faces (JSF) components in a Faces JSP file from EGL code, your EGL web project must contain the packages that enable you to access the JSF component tree. You can add these packages when you create an EGL web project, or you can add them to an existing EGL web project by following these steps:
  1. In the Project Explorer view, right-click the EGL web project and then click Properties.
  2. In the Properties window, click Project Facets.
  3. Click Add/Remove Project Facets.
  4. Select the EGL support with JSF Component Interfaces check box. If this check box is already selected, the project already has support for the JSF component interface.
  5. Click Finish.
  6. Click OK.

Adding support for the JSF component interface adds a package named com.ibm.egl.jsf to your project. As explained in Accessing the JSF component tree with the source assistant, this package contains ExternalType parts that you can use to access JSF components on the page.

You cannot remove support for the JSF component interface from a project.


Feedback