Sun Identity Manager Deployment Reference

Wizard and Tabbed Forms

Both wizard and tabbed forms are mechanisms for structuring unwieldy, single-page forms into more easily managed, multiple-paned forms. Both contain separators between logical sections, or pages. These page separators can be tabs located at the top of the form -- like the tabbed user form -- or a wizard form, which guide the user through the pages using the next/back navigation buttons.

See Tabbed User Form in this chapter for the XML version of the default Tabbed User Form.

What Is a Wizard Form?

Wizard forms can be a convenient alternative to launching multiple forms from a task when:

Wizard forms contain the two rows of buttons described below.

Table 2–18 First Row of Buttons

Row of buttons  

Description  

top row 

Next and Back buttons to traverse through the form panes 

second row 

Contains the standard user form buttons listed in the following table. You can control the second row by setting noDefaultButtons option to true and implementing your own buttons.

This second row of button can vary as follows:

Table 2–19 Second Row of Buttons

Wizard page  

Default buttons  

first page 

Next, Cancel 

intermediate pages 

Prev, Next, Cancel 

last page 

Prev, Ok, Cancel 

Implementing a Wizard Form

Wizard form syntax closely resembles tabbed user form structure. ,

ProcedureTo Create a Wizard Form

  1. Assign the WizardPanel display class to the top-level container (rather than TabbedPanel).

  2. Set the noCancel property to true.

  3. Define one or more EditForm fields that contain the pages of the wizard.

    The following example provides comments for guidance purposes:


    <Form>
       <Display class="HtmlPage"/> ----- If not set, causes indentation and color problems
       <Field name=’MainTabs’> -- Name of the top container that wraps the tab pages
          <Display class=’TabPanel’/> -- Display class for the top container: 
                                         either TabPanel or WizardPanel
       <Field name=’Identity’> -- Label of the Tab
          <Display class=’EditForm’> -- Each “page” must be an Edit Form
             <Property name=’helpKey’ value=’Identity and Password Fields’/>
          </Display>
       <Field name=’waveset.accountId’>
          <Display class=’Text’>
             <Property name=’title’ value=’_FM_ACCOUNT_ID’/>
          </Display>
    <Disable> <ref>waveset.id</ref> </Disable>
    
       </Field>
       </Field>
    
    </Field>

Tips and Workarounds