The user interface is HTML, with Javascript for user-side field validation. The HTML is output by Java servlets.
There are a few types of screens :
UI Screen Type | Screen Purpose |
---|---|
New | new row data entry |
Edit | existing row edit |
Show | existing row show, read-only |
Search | search form for underlying data table |
Search Results | data list for search criteria |
The objects that present the UI elements to the calling servlets are labelled Factories, and are Singletons modelled on the Bill Pugh singleton pattern. This ensures that the JVM memory footprint does not become a multiple of concurrent users.
The search screen is generated using fields defined with ONSEARCH = TRUE.
Numeric fields on search are generated for search with specific search constraints :
Fields defined as drop-lists are generated for search with specific search constraints :
Fields defined as text are generated for search with specific search constraints :
Fields defined as date are generated with Start Date and End Date search contraints.
If the Start Date only is provided, the search criteria is > START_DATE for that field.
If End Date only is provided, the search criteria is < END_DATE for that field.
If both criteria are provided, the search is > START_DATE AND < END DATE for that field.
Search results Search Toggle