t_PickerConfiguration_Mode
Mode
Properties
assoc : stringAssociation path to an association instance. Its reverse attribute is used to create the association instance.
factory : stringNew item factory event: <class> <event>|<event>
name : stringPicker mode name. Defaults to selection.
selection : stringClass name and symmetric association path to the association instance, specific to this selection mode: <class> <assoc1> ... <assocN>
where : stringLogical expression that the items must satisfy. If quasiquoted, it is expanded on the client every time the model is (re-)loaded.
Special local variable this (=controller) is provided by the framework for the function- Example
Constant where expression:
(= (@ firstName) "Joe")
Function returning where clause:
`(generate-where-clause this "EntityId")
In a library:
(define (generate-where-clause controller var)
...
)
Parents
Picker - Picker elements provide a consistent user experience for selecting objects.
Parent topic: Picker