O'Reilly logo

JSF 1.2 Components by Ian Hlavats

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

Laying out components with panels

The ICEfaces component library also includes a set of panels that support a wide range of user interface layouts. Let's look at a few of these panel components to gain a better appreciation of the power of ICEfaces' layout capabilities.

Working with a border layout

Swing/AWT programmers will be familiar with the BorderLayout class. This class provides an interesting layout manager for the Java GUI toolkit that subdivides a panel into five distinct regions. These regions are known as the North, South, East, West, and Center regions.

The<ice:panelBorder> tag supports the BorderLayout layout algorithm within a JSF application. Each region is represented by a facet with the same name as shown in the following example. ...

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