.getSelectedItemApi().getValue();
IntraDayDate inputDate = type.isAssociatedDateRequired() ? IntraDayDate
.startOfDay(LocalDate.fromDateFields(startConstraintDate
.getValue())) : null;
if (taskConstraint.isValid(type, inputDate)) {
taskConstraint.update(type, inputDate);
//at this point we could call currentContext.recalculatePosition(currentTaskElement)
//to trigger the scheduling algorithm, but we don't do it because
//the ResourceAllocationController, which is attached to the other
//tab of the same window, will do it anyway.
return true;