Search in sources :

Example 1 with ObjectDeltaOperationPanel

use of com.evolveum.midpoint.gui.api.component.delta.ObjectDeltaOperationPanel in project midpoint by Evolveum.

the class PageAuditLogDetails method initDeltasPanel.

private void initDeltasPanel(WebMarkupContainer eventPanel) {
    List<ObjectDeltaOperationType> deltas = recordModel.getObject().getDelta();
    RepeatingView deltaScene = new RepeatingView(ID_DELTA_LIST_PANEL);
    for (ObjectDeltaOperationType deltaOp : deltas) {
        ObjectDeltaOperationPanel deltaPanel = new ObjectDeltaOperationPanel(deltaScene.newChildId(), Model.of(deltaOp), this);
        deltaPanel.setOutputMarkupId(true);
        deltaScene.add(deltaPanel);
    }
    eventPanel.addOrReplace(deltaScene);
}
Also used : ObjectDeltaOperationType(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectDeltaOperationType) RepeatingView(org.apache.wicket.markup.repeater.RepeatingView) ObjectDeltaOperationPanel(com.evolveum.midpoint.gui.api.component.delta.ObjectDeltaOperationPanel)

Aggregations

ObjectDeltaOperationPanel (com.evolveum.midpoint.gui.api.component.delta.ObjectDeltaOperationPanel)1 ObjectDeltaOperationType (com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectDeltaOperationType)1 RepeatingView (org.apache.wicket.markup.repeater.RepeatingView)1