Manning Logo
Home | Ordering Info | Shopping Cart | Manage My Account | Login
Attention customers: online shopping is now available exclusively through our main website: http://www.manning.com. Thank you.
JavaServer Faces in Action

Inside the book

About this Book Sample Chapters Table of Contents JSF in Action Errata Foreword Index A-M Index N-Z Preface Reviews Source Code Online Extension

Manning Blog

Why small is sweet?

Author Blogs

Dave Crane more...

Author Calendar

Upcoming Events

Catalog

Java .NET Perl XML All by Subject All by Title

About...

Manning Contact Us Ordering FAQs ebooks Covers Sandbox Forums Distributors Manning Early Access Program (MEAP) Affiliate Program Academia/Publicity User Group Program Press Releases Jobs

Manning Publications Co.
209 Bruce Park Avenue
Greenwich, CT 06830

JavaServer Faces in Action
Kito D. Mann

2004 | 744 pages
ISBN: 1932394125
$49.95 Softbound print book  
$25.00 PDF ebook  

JSF in Action Errata

(last updated 05/13/2005)

All known errata for JSF in Action are be posted here.

If you discover any mistakes in the book, you may post them in the Author Online Forum for this book.


- p85, third paragraph:

The sentence reading "This example will ensure that registrationForm's commentsInput property..." should read "This example will ensure that registrationForm's nameInput property...".

- p86, second paragraph:

The sentence reading "...like the size and width properties..." should read "...like the rows and cols properties..."

- p160, last paragraph:

The sentence reading "If the person's name was Joe and he was using..." should read "if the person's name was Mark and he was using..."

- p172, table 4.24, 2nd row, 2nd column

The line:

<h:outputLabel for="validatorInput">

should read:

<h:outputLabel for="myOtherInput">

- p291, listing 8.2: *

The following lines:

    <from-tree-id>/login.jsp</from-tree-id>
...
<to-tree-id>/inbox.jsp</to-tree-id>

should read:

    <from-view-id>/login.jsp</from-view-id>

    ...
    <to-view-id>/inbox.jsp</to-view-id>

(The view id was called the tree id in older versions of JSF).

- p296, listing 8.5: *

After annotations #5 and #6, the code is missing the closing "" tag.

- p302; p306, listing 8.7; p310, listing 8.8; p313, listing 8.9: *

The onmouseover and onmouseout events incorrectly use camel case ("onMouseOver" and "onMouseOut")

- p396, listing 10.15, the stylesheet reference should be:

    <link rel="stylesheet" type="text/css"
          href="<%= request.getContextPath() %>/stylesheet.css"/>

This way, the stylesheet will be included no matter what the current directory is in when the error page is displayed.

- p 397, section 10.9.1, the example should read:

  <error-page>
    <exception-type>javax.servlet.ServletException</exception-type>
    <location>/error.jsp</location>

  </error-page>
  <error-page>
    <exception-type>javax.faces.FacesException</exception-type>
    <location>/error.jsp</location>
  </error-page>

This will catch JSP, Servlet, and JSF exceptions.

- p510, listing 13.2:

The visit property of authenticationBean should not be a managed property; consequently the following declaration should be removed:

  <managed-property>
    <property-name>visit</property-name>

    <value>#{sessionScope.visit}</value>
  </managed-property>

The authenticationBean.visit property is set during authenticationBean.login method, so it shouldn't be configured using managed beans.

- p561, listing 13.19:

The entries for NoProjectAdapter and NoProjectAdapter_detail are not used, and should be removed (they are artifacts of an older version of ProjectTrack).

- p530, listing 13.8:

The add() method (annotation #5) should return a different result depending on the user's role:

    if (getVisit().getAuthenticationBean().isReadOnly())
    {
      return Constants.SUCCESS_READONLY_OUTCOME;
    }
    else
    {
      return Constants.SUCCESS_READWRITE_OUTCOME;
    }

- p516-517:

The search for UIParameter isn't necessary; can just use findComponent.

- p855, figure 20.4

The screen shot should show First Name "John" and last name "Mann" for the second example.

- p514, annotation #6

The correct code for the sort() method should be:

    public void sort(ActionEvent actionEvent)
    {
      sortColumn = (ProjectColumnType)ProjectColumnType.
                    getEnumManager().getInstance(actionEvent.getComponent().getId());
    }

- p159, table 4.11:

The for property is no longer required for HtmlOutputLabel (as of JSF 1.1).

DESCRIPTION

ONLINE BONUS!

Exclusive to the owners of this book: free online access to over 300 additional pages of substantial content. That's over 1,000 pages of JavaServer Faces in Action! To download the Online Extension, click on the link to the left. The ebook includes both the print edition AND the online extension.

JavaServer Faces helps streamline your web development through the use of UI components and events (instead of HTTP requests and responses). JSF components (buttons, text boxes, checkboxes, data grids, etc.) live between user requests, which eliminates the hassle of maintaining state. JSF also synchronizes user input with application objects, automating another tedious aspect of web development.

JavaServer Faces in Action is an introduction, a tutorial, and a handy reference. With the help of many examples, the book explains what JSF is, how it works, and how it relates to other frameworks and technologies like Struts, Servlets, Portlets, JSP, and JSTL. It provides detailed coverage of standard components, renderers, converters, and validators, and how to use them to create solid applications. This book will help you start building JSF solutions today.

What's Inside

How to
  • Use JSF widgets
  • Integrate with Struts and existing apps
  • Benefit from JSF tools by Oracle, IBM, and Sun
  • Build custom components and renderers
  • Build converters and validators
  • Put it all together in a JSF application

WHAT THE EXPERTS SAY ABOUT THIS BOOK...

"can't wait to make it available to the people I teach."
- Sang Shin, Sun Microsystems Inc.

"This book unlocks the full power of JSF ... It’s a necessity."
- Jonas Jacobi, Oracle

"... explains advanced topics in detail. Well-written and a quick read."
- Matthew Schmidt, Javalobby

"... by a programmer who knows what programmers need."
- Alex Kolundzija, Columbia House

"A great reference and tutorial!"
- Mike Nash, JSF Expert Group Member

WHAT THE READERS SAY ABOUT THIS BOOK...

"I'm new to JSF and Java but this book has been a great help. I was searching all over the net to get info on JSF and really didn't find documentation that cleared everything up... Well, your book did ! I love the way it's structured, taking the reader one step at a time into the world of JSF and explaining WHY and HOW things are done."
-- Ben

Kito,
I purchased your JSF In Action ebook from Manning and am so far loving it...
Click here for more

ABOUT THE AUTHOR...

An independent enterprise architect and developer, Kito D. Mann runs the JSFCentral.com community site and is a member of the JSF 1.2 and JSP 2.1 Expert Groups. He lives in Stamford, Connec-ticut with his wife, two parrots, and four cats.

Home | Catalog | Privacy Policy | About Manning

© 2003-2006 Manning Publications Co.