'Helper method to render list-type representations from
bulk()-results.
@param value: the list
@param labels: the labels as returned from bulk()
@param show_link: render references as links, should
be the same as used with bulk()'

def render_list(self, value, labels, show_link=True):

    show_link = (show_link and self.show_link)
    if show_link:
        labels = [((labels[v], ',    ') if (v in labels) else (self.default, ',    ')) for v in value]
        if labels:
            return TAG[''](list(chain.from_iterable(labels))[:(-1)])
        else:
            return ''
    else:
        return ',    '.join([(s3_str(labels[v]) if (v in labels) else self.default) for v in value])
