link.setText(getLinkText(tableLink)); setLinkParameters(object, link, tableLink);
if (tableLink.getLinkFormat() != null) { link.setUrl(RenderUtils.getFormatedProperties(tableLink.getLinkFormat(), object.getObject())); } else { link.setUrl(tableLink.getLink()); setLinkParameters(object, link, tableLink); }
        protected HtmlComponent generateLinkComponent(MetaObject object, int rowIndex, int number) {            TableLink tableLink = getTableLink(number);                        if (rowIndex == 0 && tableLink.isExcludeFromFirst() ) {                return new HtmlText();            }                        if (rowIndex == getNumberOfRows() - 1 && tableLink.isExcludeFromLast()) {                return new HtmlText();            }                        HtmlLink link = new HtmlLink();            link.setUrl(tableLink.getLink());            link.setModule(tableLink.getModule());            link.setText(getLinkText(tableLink));            setLinkParameters(object, link, tableLink);                        return link;        }