renderInTable() is called to render a data product in a table
        relpath is as for renderLink() above.
        Return value should be empty, or a valid HTML string (usually delimited by <TR></TR> tags).
        Default implementation renders thumbnail,comment and link in three table cells.

def renderInTable(self, relpath=""):
        """renderInTable() is called to render a data product in a table
        relpath is as for renderLink() above.
        Return value should be empty, or a valid HTML string (usually delimited by <TR></TR> tags).
        Default implementation renders thumbnail,comment and link in three table cells."""
        thumb = self.renderThumbnail(relpath) or ""
        comment = self.renderLinkComment(relpath) or ""
        if thumb:
            return "\n".join(
                ["    <TR>"] +
                ["      <TD>%s</TD>" % element for element in (thumb, comment)] +
                ["    </TR>\n"])
        else:
            return """
        <TR><TD COLSPAN=2>%s</TD></TR>\n""" % comment