Patent ID: 7788341
Filing Date: 2010-08-31
Classification: G06F

Abstract:
1. A machine-implemented method for validating user-entered data, the method comprising: receiving, at a server, from a client program, a request for a first web page that comprises a form through which a user of the client program can input data; in response to receiving the request at the server, compiling code for the first web page at the server, wherein compiling code for the first web page at the server comprises (a) parsing one or more Java Server Faces (JSF) tag components of a document to retrieve tag information, (b) generating, based on said tag information, one or more particular instructions that will cause the client program to send, toward the server, first data that the user inputs into the form, and (c) inserting the one or more particular instructions into the first web page prior to sending the first web page from the server toward the client program, wherein the one or more JSF tag components is an AJAX validation tag that encapsulates a UI tag, and wherein the one or more particular instructions are configured to cause a web browser interpreting the first web page to initiate a server-side validation that does not require a page refresh; sending the first web page toward the client program; determining, at the server, at a first time, whether the first data satisfies specified criteria; and in response to a determination that the first data does not satisfy the specified criteria, sending, toward the client program, a signal that indicates invalidity, wherein the signal is not a web page.