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.

Contents<br />

10<br />

JSP Scriptlets ...................................................................................................................................... 275<br />

JSP Expressions .................................................................................................................................. 275<br />

Programming Tags That Accept Scripting Elements .................................................................... 276<br />

TLD Elements ............................................................................................................................. 276<br />

Tag Handlers .............................................................................................................................. 276<br />

Tags with Bodies ........................................................................................................................ 278<br />

Cooperating Tags ....................................................................................................................... 280<br />

Tags That Define Variables ....................................................................................................... 282<br />

10 <strong>Java</strong>Server FacesTechnology ..........................................................................................................283<br />

<strong>Java</strong>Server Faces Technology User Interface .................................................................................. 283<br />

<strong>Java</strong>Server Faces Technology Benefits ............................................................................................ 284<br />

What Is a <strong>Java</strong>Server Faces Application? ......................................................................................... 285<br />

A Simple <strong>Java</strong>Server Faces Application ........................................................................................... 285<br />

Steps in the Development Process ........................................................................................... 286<br />

Mapping the FacesServlet Instance ...................................................................................... 287<br />

Creating the Pages ...................................................................................................................... 288<br />

Defining Page Navigation ......................................................................................................... 294<br />

Configuring Error Messages ..................................................................................................... 295<br />

Developing the Beans ................................................................................................................ 296<br />

Adding Managed Bean Declarations ....................................................................................... 296<br />

User Interface Component Model .................................................................................................. 297<br />

User Interface Component Classes .......................................................................................... 298<br />

Component Rendering Model ................................................................................................. 299<br />

Conversion Model ..................................................................................................................... 302<br />

Event and Listener Model ......................................................................................................... 303<br />

Validation Model ....................................................................................................................... 305<br />

Navigation Model .............................................................................................................................. 305<br />

Backing Beans .................................................................................................................................... 307<br />

Creating a Backing Bean Class ................................................................................................. 307<br />

<strong>The</strong> Life Cycle of a <strong>Java</strong>Server Faces Page ....................................................................................... 311<br />

Restore View Phase .................................................................................................................... 313<br />

Further Information about <strong>Java</strong>Server Faces Technology ............................................................ 316<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!