background image

Conversion Model

<< The UI Component Tags | Event and Listener Model >>
<< The UI Component Tags | Event and Listener Model >>

Conversion Model

TABLE 10­2
The UI Component Tags
(Continued)
Tag
Functions
Rendered As
Appearance
outputText
Displays a line of text.
Plain text
Plain text
panelGrid
Displays a table.
An HTML <table>
element with <tr> and
<td>
elements
A table
panelGroup
Groups a set of components
under one parent.
A row in a table
selectBooleanCheckbox
Allows a user to change the
value of a Boolean choice.
An HTML <input
type=checkbox>
element.
A check box
selectItem
Represents one item in a list of
items in a UISelectOne
component.
An HTML <option>
element
No appearance
selectItems
Represents a list of items in a
UISelectOne
component.
A list of HTML <option>
elements
No appearance
selectManyCheckbox
Displays a set of check boxes
from which the user can select
multiple values.
A set of HTML <input>
elements of type checkbox
A set of check boxes
selectManyListbox
Allows a user to select multiple
items from a set of items, all
displayed at once.
An HTML <select>
element
A list box
selectManyMenu
Allows a user to select multiple
items from a set of items.
An HTML <select>
element
A scrollable combo
box
selectOneListbox
Allows a user to select one
item from a set of items, all
displayed at once.
An HTML <select>
element
A list box
selectOneMenu
Allows a user to select one
item from a set of items.
An HTML <select>
element
A scrollable combo
box
selectOneRadio
Allows a user to select one
item from a set of items.
An HTML <input
type=radio>
element
A set of radio buttons
Conversion Model
A JavaServer Faces application can optionally associate a component with server-side object
data. This object is a JavaBeans component, such as a backing bean. An application gets and sets
the object data for a component by calling the appropriate object properties for that
component.
User Interface Component Model
The Java EE 5 Tutorial · September 2007
304