blob: e88304cd2af5071eba4b247048284707dca75780 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" href="../../book.css" type="text/css">
<title>Adding JSF Facet to Existing Project</title>
</head>
<body>
<h1>Adding JSF Facet to Existing Project</h1>
<br>
A project is capable of being a JSF project with specialized JSF tooling support if it is a Dynamic Web Project. <br>
<h2>Step 1: Open Project Properties and Add JSF Facet</h2>
<br>
<img src="./images/addprojectfacet.png" alt="Add JSF Facet" >
<br><br>
You may select "JavaServer Faces v1.1 Project" or "JavaServer Faces v1.2 Project" from the preset configurations or check the JavaServer Faces selection.
<br><br>
Some facet versions cannot be modified once installed. This means that if you have a v2.4 dynamic web module, it will not be possible to use the preset configuration. In this case you should:
<ul>
<li>Check the JavaServer Faces line item</li>
<li>Select the desired JSF version from the dropdown</li>
</ul>
<p>
Click "Further configuration required..." hyperlink to choose JSF facet options.
<br>
<h2>Step 2: Specify JSF Facet Settings</h2>
<p>
<br>
<img src="./images/jsffacetsettings.png" alt="Specify JSF Facet Settings" >
<br><br>
Complete settings and press OK to add the JSF Facet to the project.
</p>
<img src="../../images/ngrelc.png" alt="Related concepts" border="0">
<p><a href="../concepts/jsf_facets_install.html">What happens when a JSF
Facet is installed?</a><br>
<p><img src="../../images/ngrelr.png" alt="Related reference"
border="0"></p>
<p>
<a href="../reference/jsf_library_management.html">JSF Library Management</a>
</p>
<br>
<p><img src="../../images/ngrelt.png" alt="Related tasks" border="0">
</p>
<p>
<a href="create_jsf_jsp_page.html">Create JSF JSP page</a><br>
</p>
</body>
</html>