Quintiq file version 2.0
|
#parent: lstSubscribers_529
|
Response OnSelectionChanged (
|
LibCal_Calendar selection
|
) id:Response_lstSubscribers_529_OnSelectionChanged
|
{
|
#keys: '[146730.0.1578053342]'
|
CanBindMultiple: false
|
DefinitionID: 'Responsedef_WebList_OnSelectionChanged'
|
QuillAction
|
{
|
Body:
|
[*
|
// Initialize the list by setting the checkmark for the subscribing calendars when this has not been done before.
|
// This should only be done when OnSelectionChanged is executed for the first time.
|
if( lblIsInitialized.Text() = "false" )
|
{
|
// Get the calendars of the subscriptions.
|
calendars := selectset( dhEvent.Data(), LeadingParticipation.Subscription.Calendar, calendar, true, true ).Unique();
|
|
traverse( calendars, Elements, subscriber )
|
{
|
lstSubscribers.ExtendCheckByKey( subscriber.Key() );
|
}
|
|
// Register that the list has been initialized.
|
lblIsInitialized.Text( "true" );
|
}
|
*]
|
GroupServerCalls: false
|
}
|
}
|