Handling Feedback, Errors, and Warnings

In Chapter 12, “Client-Side Validation,” we created quite a powerful process of managing custom server-side errors based on database information with the ErrorManager and UserValidator objects. In this chapter, we will take what we learned about displaying these errors to the user and go a step further by focusing on all forms of messages that need to be presented to a user in an application. We will take a look at a few figures that show different ways of displaying messages to a user and how to keep them consistent across an Ajax application. We will also learn how to create a very simple dialog object in the section, “Designing with Code,” that will have a display method for custom messages of all kinds. ...

Get Ajax for Web Application Developers now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.