Manual

Figure 13-11 SkinSelector Project Libraries - J2EE Module Dependencies Dialog Box
4. Click OK.
The J2EE module dependency on these JARs is resolved.
Creating Views for SkinSelector
Creating Views for SkinSelector involves the following activities:
1. Creating the css and results Folder
2. Creating the style.css File
3. Modifying the style.css File
4. Creating the customize.jsp File
5. Modifying the customize.jsp File
6. Creating the same-color.jsp and show-preview.jsp Files
7. Modifying the same-color.jsp File
8. Modifying the show-preview.jsp File
Creating the css and results Folder
Create two new folders named css and results, to store the stylesheet file and the result JSP pages
respectively.
To create the css folder, complete the following steps:
1. On the Project Explorer frame, right-click SkinSelector and select New > Folder.
A New Folder dialog box appears.
2. Select the parent folder as SkinSelector/WebContent and in the Folder name, enter css.
Figure 13-12 shows the New Folder dialog box.
264 Getting Started with MyFaces