Search in sources :

Example 1 with DetailsFragment

use of com.evolveum.midpoint.gui.impl.page.admin.DetailsFragment in project midpoint by Evolveum.

the class PageFocusDetails method finishPreviewProcessing.

private void finishPreviewProcessing(AjaxRequestTarget target, OperationResult result) {
    showResult(result);
    target.add(getFeedbackPanel());
    Map<PrismObject<F>, ModelContext<? extends ObjectType>> modelContextMap = new LinkedHashMap<>();
    collectObjectsForPreview(modelContextMap);
    DetailsFragment detailsFragment = createDetailsFragment();
    replace(detailsFragment);
    target.add(detailsFragment);
    navigateToNext(new PageFocusPreviewChanges(modelContextMap));
}
Also used : ModelContext(com.evolveum.midpoint.model.api.context.ModelContext) PrismObject(com.evolveum.midpoint.prism.PrismObject) ObjectType(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType) DetailsFragment(com.evolveum.midpoint.gui.impl.page.admin.DetailsFragment) LinkedHashMap(java.util.LinkedHashMap)

Example 2 with DetailsFragment

use of com.evolveum.midpoint.gui.impl.page.admin.DetailsFragment in project midpoint by Evolveum.

the class PageFocusDetails method continueEditing.

@Override
public void continueEditing(AjaxRequestTarget target) {
    DetailsFragment detailsFragment = createDetailsFragment();
    replace(detailsFragment);
    target.add(detailsFragment);
}
Also used : DetailsFragment(com.evolveum.midpoint.gui.impl.page.admin.DetailsFragment)

Aggregations

DetailsFragment (com.evolveum.midpoint.gui.impl.page.admin.DetailsFragment)2 ModelContext (com.evolveum.midpoint.model.api.context.ModelContext)1 PrismObject (com.evolveum.midpoint.prism.PrismObject)1 ObjectType (com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType)1 LinkedHashMap (java.util.LinkedHashMap)1