Callback: | AEFAppendListValuesFromSelectedMultiValue |
Arguments: |
ListGadget - Gadget whose value is to be modified mvGadgetPath - path to multivalued gadget idSelectPath - path to gadget containing mv ids |
|
|
Description: |
Given a gadget, the gadget path to the multivalue gadget, and a path to
the gadget containing the selected multivalue id,
take the value associated with the multivalue id and append
them to the list gadget. If the multivalue looks like: #client1=a,b,c#client2=d,e,f# and client1 is selected in idSelectPath gadget, then the a,b,c values are appended into the list gadget. If you wish for them to replace the contents you need to AEFClearGadget the list gadget first. |
Example: |
List { Name = Clients; Title = "Select a Client"; /* This List, when a selection is made, * will update another list with the * coresponding value from a multi- * value attribute. */ TitlePos = TOP; Name = ClientRolesSelect; ShowBrowser = NO; Show = ONE; Changed = AEFClearGadget&/.../SelectedRoles(), AEFAppendListValuesFromSelectedMultiValue&/.../SelectedRoles ("/.../my_roles_", "/.../ClientRolesSelect"); } |