/** * Using default results, add columnAnchor link for reference financial document number to open * document * * @param lookupForm * @param kualiLookupable * @param resultTable * @param bounded * @return KRAD Conversion: Lookupable performing customization of columns of the display list. */ @Override public Collection performLookup(LookupForm lookupForm, Collection resultTable, boolean bounded) { Collection displayList = super.performLookup(lookupForm, resultTable, bounded); for (ResultRow row : (Collection<ResultRow>) resultTable) { for (Column col : row.getColumns()) { if (StringUtils.equals("referenceFinancialDocumentNumber", col.getPropertyName()) && StringUtils.isNotBlank(col.getPropertyValue())) { String propertyURL = SpringContext.getBean(ConfigurationService.class) .getPropertyValueAsString(KFSConstants.WORKFLOW_URL_KEY) + "/DocHandler.do?docId=" + col.getPropertyValue() + "&command=displayDocSearchView"; AnchorHtmlData htmlData = new AnchorHtmlData(propertyURL, "", col.getPropertyValue()); htmlData.setTitle(col.getPropertyValue()); col.setColumnAnchor(htmlData); } } } return displayList; }