Skip to content

Commit

Permalink
MID-7976 role catalog details wrap up
Browse files Browse the repository at this point in the history
  • Loading branch information
1azyman committed Aug 6, 2022
1 parent 1645137 commit fa48dfd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,6 @@ protected PrismObjectWrapper load() {

SingleContainerPanel container = new SingleContainerPanel(ID_PANEL, wrapper, item.getModelObject());
item.add(container);

// SingleContainerPanel panel = new SingleContainerPanel(ID_PANEL,
// PrismContainerWrapperModel.fromContainerWrapper(wrapper, ItemPath.EMPTY_PATH),
// ActivationType.COMPLEX_TYPE);
// item.add(panel);
}
};
add(panels);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -618,21 +618,18 @@ public void onClick(AjaxRequestTarget target) {
return columns;
}

// todo create default container panel configuration
private ContainerPanelConfigurationType createDefaultContainerPanelConfiguration() {
ContainerPanelConfigurationType c = new ContainerPanelConfigurationType();
c.identifier("some-panel");
c.identifier("sample-panel");
c.type(RoleType.COMPLEX_TYPE);
c.path(new ItemPathType(ItemPath.create(".")));
c.panelType("formPanel");
VirtualContainersSpecificationType vcs =
c.beginContainer()
.beginDisplay()
.label("asdf")
.label("RoleCatalogPanel.details")
.end();
vcs.path(new ItemPathType(ItemPath.create(".")));
vcs.identifier("some-container");
vcs.beginItem().path(new ItemPathType(ItemPath.create(RoleType.F_NAME))).end();
vcs.identifier("sample-container");
vcs.beginItem().path(new ItemPathType(ItemPath.create(RoleType.F_DESCRIPTION))).end();

return c;
}
Expand Down

0 comments on commit fa48dfd

Please sign in to comment.