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.

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

Tag Functions Rendered As Appearance<br />

commandButton Submits a form to the<br />

application.<br />

commandLink Links to another page or<br />

location on a page.<br />

An HTML element,<br />

where the type value can<br />

be submit, reset,or<br />

image<br />

An HTML <br />

element<br />

dataTable Represents a data wrapper. An HTML <br />

element<br />

form Represents an input form. <strong>The</strong><br />

inner tags of the form receive<br />

the data that will be submitted<br />

with the form.<br />

An HTML <br />

element<br />

A button<br />

A hyperlink<br />

A table that can be<br />

updated dynamically<br />

No appearance<br />

graphicImage Displays an image. An HTML element An image<br />

inputHidden Allows a page author to<br />

include a hidden variable in a<br />

page.<br />

inputSecret Allows a user to input a string<br />

without the actual string<br />

appearing in the field.<br />

An HTML element<br />

An HTML element<br />

inputText Allows a user to input a string. An HTML element<br />

inputTextarea Allows a user to enter a<br />

multiline string.<br />

An HTML <br />

element<br />

message Displays a localized message. An HTML tag if<br />

styles are used<br />

messages Displays localized messages. A set of HTML <br />

tags if styles are used<br />

No appearance<br />

A text field, which<br />

displays a row of<br />

characters instead of<br />

the actual string<br />

entered<br />

A text field<br />

A multi-row text field<br />

A text string<br />

A text string<br />

outputFormat Displays a localized message. Plain text Plain text<br />

outputLabel Displays a nested component<br />

as a label for a specified input<br />

field.<br />

outputLink Links to another page or<br />

location on a page without<br />

generating an action event.<br />

An HTML <br />

element<br />

User Interface Component Model<br />

Plain text<br />

An HTML element A hyperlink<br />

Chapter 10 • <strong>Java</strong>Server FacesTechnology 301

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

Saved successfully!

Ooh no, something went wrong!