Siebel Interactive Designer API Reference > Pageset Functions >

BuildWidget


Usage

Use the BuildWidget function to add the following input UI controls to a display page in a browser-based application:

  • Image map
  • List box
  • Radio button
  • Check box
  • Text box

The image map, list box, radio button, and check box input UI controls allow a user to make feature selections in a browser-based application. The text box input UI control allows the user to enter data that can be reused in the application.

You call the BuildWidget function in the <BODY> section of a display page. Also, all BuildWidget calls must be inside the <FORM> section of the HTML source of display pages. The function is usually called from within a JavaScript document.write method.

Syntax

BuildWidget(type,window,name[,arg1,arg2,arg3,arg4,arg5])

Argument
Description

type

Specifies the type of input UI control to create. Valid control types are:

CHECKBOX: see Check Box Input UI Controls.

MAP: see Image Map Input UI Controls.

LISTBOX: see List Box Input UI Controls.

RADIO: see Radio Button Input UI Controls.

GETTEXT: see Text Entry Input UI Controls.

name

Defines the source of the content that populates the input UI control.

arg1 - 5

Some input UI control types take additional arguments.

Siebel Interactive Designer API Reference