Validating data within container objects handled by view controllers
First Claim
Patent Images
1. A method in a data processing system for performing validation of user input, the method comprising the data processing system implemented steps of:
- providing, within said system, a plurality of containers, each of said plurality of containers being associated with a different one of a plurality of view controllers;
receiving, within said system, a selection of one of said plurality of containers;
determining one of said plurality of view controllers that is associated with said selected one of said plurality of containers;
receiving user input to said one of said plurality of containers displayed in a graphical user interface, wherein display of said one of said plurality of containers and the user input to said one of said plurality of containers are handled by said one of said plurality of view controllers;
responsive to receiving the user input, sending a call to a validation object; and
responsive to receiving the call, testing, by the validation object, the user input using a set of validation rules.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and apparatus in a data processing system for performing validation of user input. User input is received in a container displayed in a graphical user interface, wherein presentation of the container and the user input to the container are handled by a view controller. Responsive to receiving the user input, a call is sent to a validation object by the view controller. Responsive to the call, the validation object tests the user input using a criteria, wherein the rule is separate from the view controller.
-
Citations
25 Claims
-
1. A method in a data processing system for performing validation of user input, the method comprising the data processing system implemented steps of:
-
providing, within said system, a plurality of containers, each of said plurality of containers being associated with a different one of a plurality of view controllers;
receiving, within said system, a selection of one of said plurality of containers;
determining one of said plurality of view controllers that is associated with said selected one of said plurality of containers;
receiving user input to said one of said plurality of containers displayed in a graphical user interface, wherein display of said one of said plurality of containers and the user input to said one of said plurality of containers are handled by said one of said plurality of view controllers;
responsive to receiving the user input, sending a call to a validation object; and
responsive to receiving the call, testing, by the validation object, the user input using a set of validation rules. - View Dependent Claims (2, 3, 4, 5)
placing data from the user input to be validated in a data structure; and
iteratively testing the data using the set of validation rules.
-
-
4. The method of claim 1, wherein the set of validation rules is a set of associated validation rules.
-
5. The method of claim 1, wherein the set of associated validation rules are associated by chaining each validation rule within the set of associated validation rules with another validation rule within the set of validation rules.
-
6. A method in a data processing system for performing validation of user input, the method comprising the data processing system implemented steps of:
-
providing, within said system, a plurality of containers, each of said plurality of containers being associated with a different one of a plurality of view controllers;
receiving, within said system, a selection of one of said plurality of containers;
determining one of said plurality of view controllers that is associated with said selected one of said plurality of containers;
receiving user input in said one of said plurality of containers displayed in a graphical user interface, wherein presentation of said one of said plurality of containers and the user input to said one of said plurality of containers are handled by said one of said plurality of view controllers;
responsive to receiving the user input, sending, by said one of said plurality of view controllers, a call to a validation object; and
responsive to the call, testing, by the validation object, the user input using a criteria, wherein the rule is separate from said one of said plurality of view controllers. - View Dependent Claims (7, 8, 9, 10, 11, 23)
responsive to a second type of call, formatting, by the validation object, the user input.
-
-
11. The method of claim 6, wherein said one of said plurality of containers is a component.
-
23. The data processing system of claim 6, wherein said one of said plurality of containers is a component.
-
12. A data processing system comprising:
-
a plurality of different view controllers, wherein one of said plurality of view controllers handles a display of one of a plurality of containers in a graphical user interface and handles user input to said one of said plurality of containers, each one of said plurality of containers being associated with a different one of said plurality of view controllers; and
a validation object, wherein the validation object includes a rule used to test data in response to a call from said one of said plurality of view controllers.
-
-
13. A data processing system for performing validation of user input, the data processing system comprising:
-
providing means for providing, within said system, a plurality of containers, each of said plurality of containers being associated with a different one of a plurality of view controllers;
receiving means for receiving, within said system, a selection of one of said plurality of containers;
determining means for determining one of said plurality of view controllers that is associated with said selected one of said plurality of containers;
receiving means for receiving user input to said one of said plurality of containers displayed in a graphical user interface, wherein display of said one of said plurality of containers and the user input to said one of said plurality of containers are handled by said one of said plurality of view controllers;
sending means, responsive to receiving the user input, for sending a call to a validation object; and
testing means, responsive to receiving the call, for testing, by the validation object, the user input using a set of validation rules. - View Dependent Claims (14, 15, 16, 17, 19, 20, 21, 22)
placing means for placing data from the user input to be validated in a data structure; and
testing means for iteratively testing the data using the set of validation rules.
-
-
16. The data processing system of claim 13, wherein the set of validation rules is a set of associated validation rules.
-
17. The data processing system of claim 13, wherein the set of associated validation rules are associated by chaining each validation rule within the set of associated validation rules with another validation rule within the set of validation rules.
-
19. The data processing system of claim 17, wherein the criteria is a rule.
-
20. The data processing system of claim 17, wherein the criteria is a set of rules.
-
21. The data processing system of claim 17, wherein the set of rules are a chained set of rules.
-
22. The data processing system of claim 17, wherein the call is a first type of call and further comprising:
formatting means, responsive to a second type of call, formatting, by the validation object, the user input.
-
18. A data processing system for performing validation of user input, the data processing system comprising:
-
providing, within said system, a plurality of containers, each of said plurality of containers being associated with a different one of a plurality of view controllers;
receiving, within said system, a selection of one of said plurality of containers;
determining one of said plurality of view controllers that is associated with said selected one of said plurality of containers;
receiving means for receiving user input in said one of said plurality of containers displayed in a graphical user interface, wherein presentation of said one of said plurality of containers and the user input to said one of said plurality of containers are handled by said one of said plurality of view controllers;
sending means, responsive to receiving the user input, for sending, by said one of said plurality of view controllers, a call to a validation object; and
testing means, responsive to the call, for testing, by the validation object, the user input using a criteria, wherein the rule is separate from said one of said plurality of view controllers.
-
-
24. A computer program product in a computer readable medium for use in a data processing system for performing validation of user input, the computer program product comprising:
-
instructions for providing, within said system, a plurality of containers, each of said plurality of containers being associated with a different one of a plurality of view controllers;
instructions for receiving, within said system, a selection of one of said plurality of containers;
instructions for determining one of said plurality of view controllers that is associated with said selected one of said plurality of containers;
instructions for receiving user input to said one of said plurality of containers displayed in a graphical user interface, wherein display of the container and the user input to said one of said plurality of containers are handled by said one of said plurality of view controllers;
instructions, responsive to receiving the user input, for sending a call to a validation object; and
instructions, responsive to receiving the call, for testing, by the validation object, the user input using a set of validation rules.
-
-
25. A computer program product in a computer readable medium for use in a data processing system for performing validation of user input, the computer program product comprising:
-
instructions for providing, within said system, a plurality of containers, each of said plurality of containers being associated with a different one of a plurality of view controllers;
instructions for receiving, within said system, a selection of one of said plurality of containers;
instructions for determining one of said plurality of view controllers that is associated with said selected one of said plurality of containers;
instructions for receiving user input in said one of said plurality of containers displayed in a graphical user interface, wherein presentation of said one of said plurality of containers and the user input to said one of said plurality of containers are handled by said one of said plurality of view controllers;
instructions, responsive to receiving the user input, for sending, by said one of said plurality of view controllers, a call to a validation object; and
instructions, responsive to the call, for testing, by the validation object, the user input using a criteria, wherein the rule is separate from said one of said plurality of view controllers.
-
Specification