ViewContext entityDisplayListListViewContext = new ViewContext(
viewContext);
entityDisplayListListViewContext
.setWicketId("entityDisplayListListView");
ListView entityDisplayListListView = app.getViewMeta().getListView(
"EntityDisplayListListView",
entityDisplayListListModelContext,
entityDisplayListListViewContext);
add(entityDisplayListListView);
if (!app.isConceptDisplayAllowed(getAppSession(), conceptConfig)) {
entityDisplayListListView.setVisible(false);
}
} catch (Exception e) {
log.error("Error in EntityDisplayListPanel: "
+ modelContext.getEntitiesCode() + " - " + e.getMessage());
}