copyItemsetAnswer method
void
copyItemsetAnswer(
- FormInstance mainInstance,
- EvaluationContext ec,
- TreeReference copyRef,
- TreeElement copyToElement,
Updates the form after itemset copies were made at copyRef
(deprecated <copy> itemsets).
Implementation
void copyItemsetAnswer(
FormInstance mainInstance,
EvaluationContext ec,
TreeReference copyRef,
TreeElement copyToElement,
) {
final targetRef = copyToElement.ref;
final phase1 = triggerTriggerables(mainInstance, ec, copyRef);
publishSummary('Copied itemset answer (phase 1)', targetRef, phase1);
final phase2 = initializeTriggerables(mainInstance, ec, copyRef, phase1);
publishSummary('Copied itemset answer (phase 2)', targetRef, phase2);
}