Gets the pick list for the child of this parameter data.
Parameter
callback
Function. An optional function to call when this function completes. This function receives the following parameters:
An array of actuate.parameter.NameValuePair objects
An integer that represents the pick list’s total leftover count
Returns
An array of actuate.parameter.ParameterValue objects.
Example
This sample code uses the callback function runNext( ) to display the pick list’s total leftover count in an alert box and assigns the array of NameValuePair objects to the pickListNVPairs variable:
paramObj.getPickList(runNext);
function runNext(pairs, leftover){
alert(leftover);
var pickListNVPairs = new Array( );
pickListNVPairs = pairs;
}
getPromptText
Syntax
string ParameterData.getPromptText( )
Returns the prompt text for this ParameterData object.
Returns
String. The prompt text.
Example
This sample code displays the prompt text for the myParamData object in an alert box:
Returns the filter-based suggestion list for this ParameterData object.
Parameters
callback
Function. An optional function to call when this function completes. This function receives an array of actuate.parameter.NameValuePair objects as a parameter.
filter
String. The filter for the suggestion list.
Example
This sample code uses the string "Trucks" to call back function runNext( ) to filter the suggestion list and assigns the filtered NameValuePair objects to the mySuggestions variable:
paramObj.getSuggestionList(runNext, "Trucks");
function runNext(suggested){
var mySuggestions = new Array( );
mySuggestions = suggested;
}
isAdhoc
Syntax
boolean ParameterData.isAdhoc( )
Returns true when this parameter is a dynamic filter parameter.
Returns
Boolean. True when this parameter is a dynamic filter.
Example
This example displays the dynamic filter status of a parameter in an alert box:
alert(paramData.isAdhoc( ));
isCascadingParameter
Syntax
boolean ParameterData.isCascadingParameter( )
Returns true when this parameter is a cascading parameter.
Returns
Boolean. True when this parameter is a cascading parameter.
Example
This example displays the cascading parameter status of a parameter in an alert box:
alert(paramData.isCascadingParameter( ));
isDynamicFilter
Syntax
boolean ParameterData.isDynamicFilter( )
Returns true when this parameter is a dynamic filter.
Returns
Boolean. True when this parameter is a dynamic filter.
Example
This example displays the dynamic filter status of a parameter in an alert box:
alert(paramData.isDynamicFilter( ));
isMultiList
Syntax
boolean ParameterData.isMultiList( )
Returns true when this parameter is shown as a multi-list UI element.
Returns
Boolean. True when this parameter is shown as a multi-list UI element.
Example
This example displays the multi-list UI element status of a parameter in an alert box:
alert(paramData.isMultiList( ));
isRequired
Syntax
boolean ParameterData.isRequired( )
Returns true when this parameter is required.
Returns
Boolean. True when this parameter is required.
Example
This example displays the required status of a parameter in an alert box: