First Display Only Refresh on Wizard Pages
Original Publication Date: 2000-Nov-01
Included in the Prior Art Database: 2003-Jun-19
Wizards are widely used software programs that simplify the completion of a task, usually a technical task such as installing and configuring a new program, configuring a hardware device, or configuring a computer to connect to a network. A wizard consists of a series of panels that display information to the user and prompt the user for input to complete the designated task. A wizard will typically contain "Next" and "Back" buttons that allow the user to navigate forward to the next panel or back to previously displayed panel. By placing default values in certain fields, a wizard can reduce the amount of typing required by the user while still allowing them the flexibility to replace the default value. Once the page is displayed, the user has the opportunity to type over any default values and thus, if the user goes back to a previous panel and then forward to this panel again, the defaults should not be set into the fields again as they may over write changes the user has made. The invention described in this disclosure uses a hashtable to keep track of what pages have been displayed already. If a page has already been displayed, it will not be automatically refreshed with defaults if it is displayed again. If the page has not been displayed yet, it will be refreshed with default values just prior to being shown. In order to assure that data that a user enters is not replaced with default values that the user had previously changed, we maintain a hashtable of wizard panels that have been displayed. A hashtable is a standard programming mechanism used in any programming language that allows collections of like objects to be stored and quickly retrieved using a key value. In my implementation I use each page's index in the wizard as the key for that page. For example, the first panel in the wizard would have a key of 0, the second a key of 1, the third a key of 2 and the "n"th a key of n -1.