Use to to choose a layout for the template and create a template that is formatted using either CSS stylesheets or HTML <table> elements. Facelets templates are XHTML files that are used as page layouts that are referenced by Facelets template client pages. A project can have multiple template files.
In the Name and Location page, you have to set the following properties:
Element | Description |
---|---|
File Name |
Specifies the name of the JSF Facelets template. |
Project |
Specifies the project in which the template will be located. |
Location |
Select the location for the template from the dropdown list. The default folder is the Web Pages folder. |
Folder |
Specifies a folder inside the Location folder for the template. |
Created File |
Displays the path of the file that will be created. (Read-only) |
Layout Style |
Specifies the layout for the template and if the selected layout will be formatted using CSS or HTML tables. |
The wizard generates a default.css
file, and a cssLayout.css
or tableLayout.css
file, depending on your layout selection.
Related Topics
Developing Applications with NetBeans IDE,
Developing Applications with NetBeans IDE,
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |