A Book Viewer and a Library
To illustrate implementing layouts, including common
content, and using Tiles, we discuss two applications in this chapter: a book
viewer and a library. Those applications are shown in Figure 8-2 and Figure 8-3, respectively.
The book viewer is intuitive. If you
click a chapter link, that chapter is shown in the content region of the web
page. The library is an extension of the book viewer that lets you view more
than one book. You can select books from the menu at the top of the web
page.
The book viewer addresses the
following topics:
"Monolithic
JSF Pages" on page 320
"Common
Content Inclusion" on page 326
"Looking
at Tiles" on page 331
"Parameterizing
Tiles" on page 334
"Extending
Tiles" on page 335
The library illustrates these
Tiles features:
Coverage of the book viewer begins in
the next section, "The
Book Viewer" on page 318.
The library is discussed in "The
Library" on page 339.
Note
|
For the examples in this chapter, we downloaded Alice in Wonderland and Peter Pan from the Project Gutenberg web site (http://promo.net/pg/), chopped them up into chapters, and converted them to HTML. |
No comments:
Post a Comment