Java Reference
In-Depth Information
Tutorial: Linking Web Pages to a Facelet
The AllEmps Facelet is relatively simple. It retrieves information from the database and displays it on a page. The
application, however, must be expanded to include functions to insert and modify employee information. These
functions will be provided by new Facelets using SDO. In addition, the application needs Web pages with links to the
various application options (i.e., the Facelets that will provide the functions).
1.
Close all Browser and Editor sessions.
2.
In TutorialsJSF, create a new HTML/XHTML web page called TNTApps.
3.
In Design view, drag and drop a HTML table with five rows and one column and set the
border width to zero.
4.
In the Properties view, change the table's Layout Alignment to center.
5.
In the first cell:
a.
Set the Background color to red
b.
Add the text TNT Salvage
c.
Set the text font to Verdana, color to black, and size to 36
6.
From the Palette's HTML Tags drawer, drag and drop a Horizontal Rule into the second cell.
7.
In the last three cells:
a.
Add the text Employee Application, Shipment Application, and Sort Application
b.
Bold and center the text and set the font to Verdana and color to Navy
The page should look like Figure 12-27 .
Figure 12-27.
 
Search WWH ::




Custom Search