# US 2003/0226115 A1 · Input field constraint mechanism

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2003/0226115 A1
- Document ID: US20030226115A1
- Status: Published application
- Kind: A1
- Application number: 10/161,515
- Filed: 2002-06-03
- Published: 2003-12-04
- Earliest claimed: 2002-06-03
- Assignees: Sun Microsystems, Inc.
- Inventors: Peter M. Wall; Anders M. Holmgren
- Web page: https://patentgrep.com/patent/US20030226115A1

## CPC

- G06F 40/174: Form filling; Merging
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method of automating enforcement of a data validation rule associated with an input field by a Model View Controller software application includes applying an input constraint embodying the data validation rule to a Model to generate an applied constraint, discovering the applied constraint via examination of the Model by a View-Controller Generator to generate a discovered constraint, generating an input field constraint mechanism using the discovered constraint, and constraining the input field using the input field constraint mechanism to generate a constrained input field.

## Claims

### Claim 1

A method of automating enforcement of a data validation rule associated with an input field by a Model View Controller software application, comprising:
applying an input constraint embodying the data validation rule to a Model to generate an applied constraint;
discovering the applied constraint via examination of the Model by a View-Controller Generator to generate a discovered constraint;
generating an input field constraint mechanism using the discovered constraint; and
constraining the input field using the input field constraint mechanism to generate a constrained input field.

### Claim 2 (depends on 1)

The method of claim 1, the input constraint comprising a set of constraints.

### Claim 3 (depends on 1)

The method of claim 1, wherein the input field is constrained prior to a user interacting with the constrained input field.

### Claim 4 (depends on 1)

The method of claim 1, the input field constraint mechanism comprising a drop-down list box.

### Claim 5 (depends on 1)

The method of claim 1, the input field constraint mechanism comprising an input mask.

### Claim 6 (depends on 1)

The method of claim 1, the input field constraint mechanism comprising software application source code.

### Claim 7 (depends on 1)

The method of claim 1, the input field constraint mechanism comprising markup language code.

### Claim 8 (depends on 1)

The method of claim 1, the input field constraint mechanism comprising presenting a popup window triggered by user interaction with the constrained input field.

### Claim 9 (depends on 1)

The method of claim 1, the applied constraint comprising an externally visible applied constraint.

### Claim 10 (depends on 1)

The method of claim 1, wherein the View and a Controller are generated using the Model and an automated process.

### Claim 11 (depends on 1)

The method of claim 1, further comprising:
generating a graphical user interface including the constrained input field; and
presenting the graphical user interface to a user.

### Claim 12 (depends on 11)

The method of claim 11, further comprising:
modifying the graphical user interface using the input field constraint mechanism.

### Claim 13 (depends on 1)

The method of claim 1, further comprising:
enforcing the data validation rule using the constrained input field.

### Claim 14

A method of automating enforcement of a data validation rule associated with an input field by a Model View Controller software application, comprising:
applying an input constraint embodying the data validation rule to a Model to generate an applied constraint;
discovering the applied constraint via examination of the Model by a View-Controller Generator to generate a discovered constraint;
generating an input field constraint mechanism using the discovered constraint;
constraining the input field using the input field constraint mechanism to generate a constrained input field;
generating a graphical user interface including the constrained input field;
presenting the graphical user interface to a user; and
enforcing the data validation rule using the constrained input field.

### Claim 15

A computer system for automating enforcement of a data validation rule associated with an input field by a Model View Controller software application, comprising:
a processor;
a memory;
a computer display; and
software instructions stored in the memory for enabling the computer system under control of the processor, to perform:
applying an input constraint embodying the data validation rule to a Model to generate an applied constraint;
discovering the applied constraint via examination of the Model by a View-Controller Generator to generate a discovered constraint;
generating an input field constraint mechanism using the discovered constraint; and
constraining the input field using the input field constraint mechanism to generate a constrained input field.

### Claim 16 (depends on 15)

The computer system of claim 15, the input constraint comprising a set of constraints.

### Claim 17 (depends on 15)

The computer system of claim 15, wherein the input field is constrained prior to a user interacting with the constrained input field.

### Claim 18 (depends on 15)

The computer system of claim 15, the input field constraint mechanism comprising a drop-down list box.

### Claim 19 (depends on 15)

The computer system of claim 15, the input field constraint mechanism comprising an input mask.

### Claim 20 (depends on 15)

The computer system of claim 15, the input field constraint mechanism comprising software application source code.

### Claim 21 (depends on 15)

The computer system of claim 15, the input field constraint mechanism comprising markup language code.

### Claim 22 (depends on 15)

The computer system of claim 15, the input field constraint mechanism comprising presenting a popup window triggered by user interaction with the constrained input field.

### Claim 23 (depends on 15)

The computer system of claim 15, the applied constraint comprising an externally visible applied constraint.

### Claim 24 (depends on 15)

The computer system of claim 15, wherein the View and a Controller are generated using the Model and an automated process.

### Claim 25 (depends on 15)

The computer system of claim 15, further comprising:
generating a graphical user interface including the constrained input field; and
presenting the graphical user interface to a user.

### Claim 26 (depends on 25)

The computer system of claim 25, further comprising:
modifying the graphical user interface using the input field constraint mechanism.

### Claim 27

An apparatus for automating enforcement of a data validation rule associated with an input field by a Model View Controller software application, comprising:
means for applying an input constraint embodying the data validation rule to a Model to generate an applied constraint;
means for discovering the applied constraint via examination of the Model by a View-Controller Generator to generate a discovered constraint;
means for generating an input field constraint mechanism using the discovered constraint; and
means for constraining the input field using the input field constraint mechanism to generate a constrained input field.
