Quintiq file version 2.0
|
#parent: DataHolderWorkaround
|
Response OnDataChanged () id:Response_DialogCreateEditShiftPattern_DataHolderWorkaround_OnDataChanged
|
{
|
#keys: '[139394.1.446393861]'
|
CanBindMultiple: false
|
DefinitionID: 'Responsedef_WebComponent_OnDataChanged'
|
QuillAction
|
{
|
Body:
|
[*
|
// Following core tech's suggestion, change the Name in OnCreated of the dialog will
|
// introduce the racing condition where the Edit field have a binding,
|
// so its either the binding kick in first or the OnCreated kick in first depend on the computer.
|
// We can make a new DataHolder which have an extractor extract from DataHolderDialogData and in
|
// the new DataHolder.OnDataChanged we update the Edit field, this guarantees that the call only happen after the data binding.
|
Form.InitializeComponents();
|
*]
|
GroupServerCalls: false
|
}
|
}
|