Skip to content

Commit

Permalink
fixing MID-6170, sorting works again + cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
katkav committed Apr 6, 2020
1 parent a135b07 commit fcde18a
Showing 1 changed file with 0 additions and 6 deletions.
Expand Up @@ -186,7 +186,6 @@ protected void populateItem(final ListItem<IW> item) {
populateNonContainer(item);
}
};
properties.setReuseItems(true);
properties.setOutputMarkupId(true);
add(propertiesLabel);
propertiesLabel.add(properties);
Expand Down Expand Up @@ -355,13 +354,8 @@ public boolean isVisible() {
private void populateContainer(ListItem<PrismContainerWrapper<?>> container) {
PrismContainerWrapper<?> itemWrapper = container.getModelObject();
try {
// ItemPanelSettingsBuilder builder = new ItemPanelSettingsBuilder().visibilityHandler(getVisibilityHandler());
Panel panel = getPageBase().initItemPanel("container", itemWrapper.getTypeName(), container.getModel(), settings);
panel.setOutputMarkupId(true);
// panel.add(new VisibleBehaviour(() -> {
// CVW parent = PrismContainerValuePanel.this.getModelObject();
// return container.getModelObject().isVisible(parent, visibilityHandler);
// }));
container.add(panel);
} catch (SchemaException e) {
throw new SystemException("Cannot instantiate panel for: " + itemWrapper.getDisplayName());
Expand Down

0 comments on commit fcde18a

Please sign in to comment.