In List Cache validators
If a component has an IDO Collection list source or an IDO Method list source, you can create an In List Cache validator that ensures that the value of the component matches one of the values of the component's list. You must specify the name of the property in the list cache that must match the component's value. In List Cache validators can also output any property of the matched list item to a variable, property, or component.
These attributes are supported for validator output:
Output Attribute | Description |
---|---|
“Output First Time Only” | The output is generated only the first time that the validator is fired since the collection was loaded, was saved, or became current. Use this attribute when you want to prevent subsequent executions of the validator from overwriting changes made to the target component by the user. |
“Output Immediate Only” | The output is generated only for immediate validations. Use this attribute when you do not want the validator to change a component at the time the collection is saved. |
“Mark Output Targets Validated” | This attribute prevents output target components from re-validating unless the user modifies the value of the component. When the validation requires a round trip to the server, use this attribute to improve performance. |
“Set Property / Variable / Component” | Output any property of the matched list item to a variable, property or component. Specify the property name of the list item property as the source and specify the variable, property or component name as the target. |
“Property” | Specify the name of the property in the list cache that must match the component's value. |
相关主题