Web controls validation
First Claim
1. A computer program product encoding a computer program for executing on a computer system a computer process for validating input data received through at least one client-side input control element in a Web page, each client-side input control element being associated with a server-side input control object declared in a server-side resource, the computer process comprising:
- detecting a validator declaration in the server-side resource, the validator declaration being associated with a server-side input control object;
generating a server-side validation object having a validation criterion, responsive to the detecting operation; and
evaluating at least a portion of the input data to determine whether the portion of the input data satisfies the validation criterion, the portion of the input data being received through the client-side input control element associated with the server-side input control object.
1 Assignment
0 Petitions
Accused Products
Abstract
Web control validation may be defined using one or more declarations that are included in an ASP+ file by the web page author. The declarations specify server-side objects that validate the input data received in the web page and provide error handling in the event of a validation failure error. Validation declaration parameters specify the validation criteria against which the input data is validated. Example validation operations involve regular expressions, required fields, data comparison, range comparison and custom validation. Validation parameters can also specify either server-side validation or client-side validation, depending on the client browser'"'"'s capabilities. In a server-side scenario, a server-side validation object processes the input data received in an HTTP request from the client. In a client-side scenario, a server-side validation object renders the appropriate client-side code to validate the input data without a round trip between the client and the server.
-
Citations
27 Claims
-
1. A computer program product encoding a computer program for executing on a computer system a computer process for validating input data received through at least one client-side input control element in a Web page, each client-side input control element being associated with a server-side input control object declared in a server-side resource, the computer process comprising:
-
detecting a validator declaration in the server-side resource, the validator declaration being associated with a server-side input control object; generating a server-side validation object having a validation criterion, responsive to the detecting operation; and evaluating at least a portion of the input data to determine whether the portion of the input data satisfies the validation criterion, the portion of the input data being received through the client-side input control element associated with the server-side input control object. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. A server-side validation object for validating input data that is input through at least one client-side input control element in a Web page, each client-side input control element being associated with a server-side input control object declared in a server-side resource, the server-side validation object comprising:
-
a control identifier identifying the server-side input control object with which the server-side validation object is associated, wherein at least a portion of the input data is received into a property of the server-side input control object; a validation criterion against which the portion of the input data stored in the property of the server-side input control object is evaluated; and a validity indicator indicating whether the portion of the input data satisfies the validation criterion. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24)
-
-
25. A method of validating input data received through at least one client-side input control element in a Web page, each client-side input control element being associated with a server-side input control object declared in a server-side resource, the method comprising:
-
detecting a validator declaration in the server-side resource, the validator declaration being associated with a server-side input control object; generating a server-side validation object having a validation criterion, responsive to the detecting operation; and evaluating at least a portion of the input data to determine whether the portion of the input data satisfies the validation criterion, the portion of the input data being received through the client-side input control element associated with the server-side input control object. - View Dependent Claims (26, 27)
-
Specification