use of com.evolveum.midpoint.web.component.wizard.resource.component.synchronization.ConditionalSearchFilterEditor in project midpoint by Evolveum.
the class SynchronizationStep method correlationEditPerformed.
private void correlationEditPerformed(AjaxRequestTarget target, @NotNull ConditionalSearchFilterType condition) {
if (condition.getCondition() == null) {
// removed at save
condition.setCondition(new ExpressionType());
}
resetSelections(target);
syncDtoModel.getObject().setSelectedCorrelation(condition);
WebMarkupContainer newContainer = new ConditionalSearchFilterEditor(ID_THIRD_ROW_CONTAINER, new NonEmptyWrapperModel<>(new Model<>(condition)), parentPage);
getThirdRowContainer().replaceWith(newContainer);
target.add(getThirdRowContainer(), get(ID_OBJECT_SYNC_EDITOR), getPageBase().getFeedbackPanel());
}
Aggregations