} else if (displayType.equals("slide")) {
entryConceptPage = app.getViewMeta().getPage(
"EntityDisplaySlidePage", entryModelContext,
entryViewContext);
}
Link entryConceptLink = new PageLink("entry", entryConceptPage);
item.add(entryConceptLink);
ModelContext keywordSelectionModelContext = new ModelContext(
modelContext);
keywordSelectionModelContext.setEntities(entry);
PropertyConfig propertyConfig = entryConceptConfig
.getPropertiesConfig().getFirstMaxTextSizePropertyConfig();
keywordSelectionModelContext.setPropertyConfig(propertyConfig);
ViewContext keywordSelectionViewContext = new ViewContext(
viewContext);
keywordSelectionViewContext.getMoreArgs().add("keywords", "");
keywordSelectionViewContext.getMoreArgs().add("andKeywords",
Boolean.TRUE);
WebPage keywordSelectionPage = app.getViewMeta().getPage(
"EntityPropertyKeywordSelectPage",
keywordSelectionModelContext, keywordSelectionViewContext);
Link keywordSelectionLink = new PageLink("entryKeywordSelection",
keywordSelectionPage);
item.add(keywordSelectionLink);
if (!app.isConceptDisplayAllowed(getAppSession(),
entryConceptConfig)) {
entryConceptLink.setVisible(false);
keywordSelectionLink.setVisible(false);
} else if (propertyConfig == null) {
keywordSelectionLink.setVisible(false);
}
} catch (Exception e) {
log.error("Error in EntryDisplayTableListView: "
+ entry.getConceptConfig().getEntitiesCode() + " = "
+ e.getMessage());