use of com.evolveum.midpoint.web.component.assignment.ConstructionAssociationPanel in project midpoint by Evolveum.
the class InducedEntitlementsPanel method getConstructionAssociationPanel.
// @Override
// protected Panel getBasicContainerPanel(String idPanel, IModel<PrismContainerValueWrapper<AssignmentType>> model) {
// return getConstructionAssociationPanel(idPanel, model);
// }
private ConstructionAssociationPanel getConstructionAssociationPanel(String idPanel, IModel<PrismContainerValueWrapper<AssignmentType>> model) {
IModel<PrismContainerWrapper<ConstructionType>> constructionModel = PrismContainerWrapperModel.fromContainerValueWrapper(model, AssignmentType.F_CONSTRUCTION);
ConstructionAssociationPanel constructionDetailsPanel = new ConstructionAssociationPanel(idPanel, constructionModel);
constructionDetailsPanel.setOutputMarkupId(true);
return constructionDetailsPanel;
}
use of com.evolveum.midpoint.web.component.assignment.ConstructionAssociationPanel in project midpoint by Evolveum.
the class AssignmentsDetailsPanel method getConstructionAssociationPanel.
private PanelTab getConstructionAssociationPanel() {
return new PanelTab(createStringResource("AssignmentPanel.inducedEntitlements")) {
@Override
public WebMarkupContainer createPanel(String panelId) {
IModel<PrismContainerWrapper<ConstructionType>> constructionModel = PrismContainerWrapperModel.fromContainerValueWrapper(getModel(), AssignmentType.F_CONSTRUCTION);
ConstructionAssociationPanel constructionDetailsPanel = new ConstructionAssociationPanel(panelId, constructionModel);
constructionDetailsPanel.setOutputMarkupId(true);
return constructionDetailsPanel;
}
};
}
Aggregations