O'Reilly logo

Beginning JSF™ 2 APIs and JBoss® Seam by Kent Ka Iok Tong

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

C H A P T E R  5

image

Creating Custom Components

In this chapter, you'll learn how to create your own components that can be reused on multiple pages.

Displaying a Copyright Notice on Multiple Pages

Suppose that you'd like to display a copyright notice on multiple pages like that shown in Figure 5-1.

image

Figure 5-1. Copyright notice on multiple pages

This is no good, because if later you need to modify the copyright notice, you'll have to do it multiple times (once for each page). To solve this problem, you can extract the common HTML code into a separate ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required