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:
- In the Project Explorer view, right-click the EGL web project
and then click Properties.
- In the Properties window, click Project Facets.
- Click Add/Remove Project Facets.
- 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.
- Click Finish.
- 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.