Module

RMP_ListBox


new RMP_ListBox(conf)

This constructor allows you to create a list widget that can be inserted dynamically in your web interface.

Example
var listConf = {
     id: 'id_list',
     label: 'My List box txt',
     variables: [
         { name: 'my_list_label', value: '', id: 'label' },
         { name: 'my_list_value', value: '', id: 'value' }
     ],
     url: 'config/102501479899272974/pool/220767/lane/253884/user/?P_mode=TEST',
     list_type: 'userofalane'
};
var list = new RMP_ListBox(listConf);
id_of_a_widget.insertAbove(listD);

Methods

# inner getPrompt() → {string}

Returns the "prompt" value of the list box.
string

# inner getType() → {string}

Returns the type of the widget (RMP_ListBox).
string

# inner setPrompt(prompt)

Sets the "prompt" value of the list box.
Parameters:
Name Type Description
prompt string prompt to display