Web projects hold all of the web resources that you create,
maintain, and use as you develop your facelet-enabled web application
using Facelet technology. The web project is the environment where
you perform activities such as link-checking, building, testing, and
publishing.
Procedure
To create facelet-enabled web application:
- Open the J2EE or Web perspective.
- In the Enterprise Explorer
view, right-click and select .
- In the Name field,
enter a name for your new web project.
- From the list of project templates, select the JavaServer
Faces project template.
- In the Programming Model section, select Java EE programming model.
Tip: The Programming Model
section is displayed only if there is more than one programming model
available for use with the selected project template. Click Next.
- Click Change Features to open the Project Facets
wizard.
- Select project facet JavaServer Faces version 1.x for the project. The project
configuration automatically selects the facets required by your Faces
project.
- Click Finish.
What to do next
Several views allow you to easily implement JavaServer Faces
technology in your web application: the Page Data view (shows the
defined data sources and allows you to define new data sources), the
Palette view, which contains drawers such as the Enhanced Faces Components
drawer and the Standard Faces Components drawer. The Palette view
helps you easily add user interface (UI) components to your page.