pp108 : initializeValueSets

initializeValueSets

It sets or retrieves the value that indicates whether the Select control attached to the model can be initialized automatically using the values from Process Platform WS AppServer.

Syntax

DesignTime

This is a design-time property and can be set through the property sheet of the Select control.

Remarks

If set to True on focus of the control, the WS AppServer validate request will be fired to initialize that control. The qValues attribute is used to initialize value sets in WS-AppServer for Select controls. The qValues attribute will be set to 1 for the data node of the control while sending the request.

In response, a list of choices will be supplied and the Select control will be initialized with the values in the response.

Since the data node is not available for the Select control while sending the Get request, and while sending the Validate request on the insertion of a new record, the qValues will be set with the values as XQL of the Select control at the object level.

During runtime, this property can be set using the setInitializeValueSets method and accessed using the getInitializeValueSets method.

Applies to

Model, setInitializeValueSets(), getInitializeValueSets()