Develop > Presentation layer > Customize WebSphere Commerce Accelerator, Organization Administration Console, or Administration Console > Tools framework
Wizards
A wizard consists of a series of panels in which users can enter and manipulate data. The panels are presented in a specific sequence defined when you create the wizard. This sequence displays in a table of contents frame. The user navigates using only the Previous and Next buttons and cannot select elements in the table of contents to move to a specific panel. Wizards are useful when you want the user to view and enter data into every panel. You can specify default data for the panels so that default values are pre-populated for the user. For example, you can pre-populate the year field with the current year. A Finish button may be placed on a panel before the last panel in the sequence. Once a user completes a wizard and if it is no longer necessary to follow the panels in the specific sequence then information entered using that wizard can be modified using notebooks or dialogs.
An image of a wizard follows:
- Add a wizard
- Example: Wizard, dialog or notebook controller command
This example controller command defines a wizard, dialog, or notebook.
- Sample: Wizard resources.xml file
This sample defines several wizards, including the one described in Add a wizard.
- Wizard JavaScript functions
To use the following JavaScript functions, first write code for the functions that implement the business logic. Once the code is written you can use these JavaScript functions in the wizard. Your JavaScript file is specified in the wizard XML file.
- Wizard navigation behavior
Wizards present users with multiple navigation options. Each panel in a wizard can have buttons for next, previous, finish, or cancel. The names here are the default values but represent generic functions. These options are presented as buttons in the navigation frame at the bottom of the content window. If included, each navigation button has a specific behavior that runs when it is selected by a user.
- Wizard definition
Related concepts
Related tasks
Related reference