Validating data within container objects handled by view controllers
AssigneeInternational Business Machines Corporation
InventorsPeter C. Bahrs, Manish Mahesh Modh
Life of this patent
Estimating the term…
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.
Claims25
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.
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.
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.
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.
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.
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.
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.
Dependencies are inferred from the claim text.