2.4. Adding JSF Capabilities

This wizard helps you to add JSF capabilities into your project for representing appropriate behaviours associated with JSF.

Checking Server Supplied JSF Implementation means that you will have a default JSF implementation given by server.

Adding JSF Capabilities to Web Project

Figure 2.13. Adding JSF Capabilities to Web Project


In case when you want to use your custom JSF implementation check a lower radio button. You are able to create a library of jars by clicking on New button.

Here, it's necessary to type a Library Name, select a Version Supported and add proper Library jars. Then click on Finish to complete the choice.

Create JSF Implementation Library

Figure 2.14. Create JSF Implementation Library


In the Component Libraries section of the wizard you can also add Component Libraries (e.g. Richfaces). Just click on New button. Appeared dialog will ask you to type the Library name, supported version and add necessary jar's. Press Finish to complete the choice.

Create JSF Implementation Component Library

Figure 2.15. Create JSF Implementation Component Library


The last wizard options allows to edit a path for JSF Configuration File, a name for JSF Servlet, JSF Servlet Classname and change URL Mapping Patterns.

JSF Capabilities Wizard

Figure 2.16. JSF Capabilities Wizard


Finally, as we are arranging the Seam Web project, the last step we should do is to adjust project configurations associated with the Seam.