Automatic formatting and validating of text for a markup language graphical user interface
First Claim
1. A method for automatically validating text that is input to a client computer, the method comprising:
- at the client computer, processing a markup language file to receive text input, said markup language file comprising a description of a graphical user interface (GUI), the description comprising a GUI element enabled to receive the text input and an attribute specifying a type associated with the GUI element, wherein the markup language file comprises a markup language tag for instantiating a validation manager at the client computer;
in response to processing the markup language file at the client computer, instantiating the validation manager at the client computer and the validation manager instantiating a validation component corresponding to the type associated with the GUI element;
in response to processing the markup language file, displaying the GUI on a display screen at the client computer;
receiving text into the GUI element enabled to receive text;
in response to receiving text into the GUI element, sending a programmatic event to the validation manager;
in response to receiving the programmatic event at the validation manager, calling the validation component and specifying the text input to the GUI element;
the validation component determining whether the received text is valid text input for the type associated with the GUI element and returning a result value to the validation manager indicating whether the text input received by the GUI element is a valid text input; and
providing an indication that the received text is invalid if the received text is determined to be invalid.
3 Assignments
0 Petitions
Accused Products
Abstract
A system and method for automatically performing validation and/or formatting procedures for a graphical user interface (GUI) described in a markup language file. The GUI markup language description may comprise descriptions of various types of GUI elements for which text is to be validated/formatted, such as form fields, tables, hypertext links, etc. The markup language file may include various custom markup language attributes in order to automatically validate/format text for a GUI element. Validation/formatting procedures for GUI elements may thus be based on custom markup language attributes and are managed by a manager that is automatically instantiated when the application parses the markup language file. This manager interfaces to receive programmatic events that trigger various types of formatting/validating operations to be performed on the GUI elements.
131 Citations
18 Claims
-
1. A method for automatically validating text that is input to a client computer, the method comprising:
-
at the client computer, processing a markup language file to receive text input, said markup language file comprising a description of a graphical user interface (GUI), the description comprising a GUI element enabled to receive the text input and an attribute specifying a type associated with the GUI element, wherein the markup language file comprises a markup language tag for instantiating a validation manager at the client computer; in response to processing the markup language file at the client computer, instantiating the validation manager at the client computer and the validation manager instantiating a validation component corresponding to the type associated with the GUI element; in response to processing the markup language file, displaying the GUI on a display screen at the client computer; receiving text into the GUI element enabled to receive text; in response to receiving text into the GUI element, sending a programmatic event to the validation manager; in response to receiving the programmatic event at the validation manager, calling the validation component and specifying the text input to the GUI element; the validation component determining whether the received text is valid text input for the type associated with the GUI element and returning a result value to the validation manager indicating whether the text input received by the GUI element is a valid text input; and providing an indication that the received text is invalid if the received text is determined to be invalid. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A method for automatically validating text that is input to a client computer, the method comprising:
-
at the client computer, processing a markup language file to receive text input, said markup language file comprising a description of a graphical user interface (GUI), the description comprising a GUI element enabled to receive the text input and one or more attributes for controlling text input validation for the GUI element, wherein the markup language file comprises a markup language tag for instantiating a validation manager at the client computer, said processing comprising constructing a document object representing the markup language file; in response to processing the markup language file at the client computer, instantiating the validation manager at the client computer, wherein instantiating the validation manager comprises passing a reference to the document object to the validation manager, and wherein, in response to being instantiated by and receiving the reference to the documents object, the validation manager is operable to traverse the document object in order to discover the one or more attributes for controlling text input validation for the GUI element; in response to processing the markup language file, displaying the GUI on a display screen at the client computer; receiving text into the GUI element enabled to receive text; in response to receiving text into the GUI element, sending a programmatic event to the validation manager; in response to receiving the programmatic event at the validation manager, determining at the client computer whether the received text is valid text input; and providing an indication that the received text is invalid if the received text is determined to be invalid. - View Dependent Claims (16, 17, 18)
-
Specification