10.12.2012 Views

The Java EE 5 Tutorial (PDF) - Oracle Software Downloads

The Java EE 5 Tutorial (PDF) - Oracle Software Downloads

The Java EE 5 Tutorial (PDF) - Oracle Software Downloads

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

User Interface Component Model<br />

302<br />

TABLE 10–2 <strong>The</strong> UI Component Tags (Continued)<br />

Tag Functions Rendered As Appearance<br />

outputText Displays a line of text. Plain text Plain text<br />

panelGrid Displays a table. An HTML <br />

element with and<br />

elements<br />

panelGroup Groups a set of components<br />

under one parent.<br />

selectBooleanCheckbox Allows a user to change the<br />

value of a Boolean choice.<br />

selectItem Represents one item in a list of<br />

items in a UISelectOne<br />

component.<br />

selectItems Represents a list of items in a<br />

UISelectOne component.<br />

selectManyCheckbox Displays a set of check boxes<br />

from which the user can select<br />

multiple values.<br />

selectManyListbox Allows a user to select multiple<br />

items from a set of items, all<br />

displayed at once.<br />

selectManyMenu Allows a user to select multiple<br />

items from a set of items.<br />

selectOneListbox Allows a user to select one<br />

item from a set of items, all<br />

displayed at once.<br />

selectOneMenu Allows a user to select one<br />

item from a set of items.<br />

selectOneRadio Allows a user to select one<br />

item from a set of items.<br />

Conversion Model<br />

An HTML element.<br />

An HTML <br />

element<br />

A list of HTML <br />

elements<br />

A set of HTML <br />

elements of type checkbox<br />

An HTML <br />

element<br />

An HTML <br />

element<br />

An HTML <br />

element<br />

An HTML <br />

element<br />

An HTML element<br />

A table<br />

A row in a table<br />

A check box<br />

No appearance<br />

No appearance<br />

A set of check boxes<br />

A list box<br />

A scrollable combo<br />

box<br />

A list box<br />

A scrollable combo<br />

box<br />

A set of radio buttons<br />

A <strong>Java</strong>Server Faces application can optionally associate a component with server-side object<br />

data. This object is a <strong>Java</strong>Beans component, such as a backing bean. An application gets and sets<br />

the object data for a component by calling the appropriate object properties for that<br />

component.<br />

<strong>The</strong> <strong>Java</strong> <strong>EE</strong> 5<strong>Tutorial</strong> • June 2010

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!