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 on the screen

The Trinidad framework includes a number of useful tags for laying out components on the screen. Some of these tags handle more specific tasks such as laying out a set of controls horizontally, vertically, or in some other arrangement, while other tags handle more general tasks such as abstracting the "page" concept and breaking it up into smaller, more manageable sections.

Let's look at how to use Trinidad components to handle some of the more specific layout situations we may encounter in our web development activities.

Rendering a row layout

The HtmlRowLayout component is rendered as a sequence of HTML<tr> and<td> elements using the<trh:rowLayout> tag. This tag's layout logic is to render each of its child ...

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