'Read-only representation of this form element. This will be
used instead of the __call__() method when the form element
is to be rendered read-only.
@param value: the value as returned from extract()
@return: the read-only representation of this element as
string or HTML helper'

def represent(self, value):

    if isinstance(value, basestring):
        data = json.loads(value)
    else:
        data = value
    if (data['data'] == []):
        return current.messages['NONE']
    fieldname = data['field']
    items = data['data']
    component = self.resource.components[data['component']]
    audit = current.audit
    (prefix, name) = (component.prefix, component.name)
    xml_decode = current.xml.xml_decode
    vals = []
    for item in items:
        if ('_id' in item):
            record_id = item['_id']
        else:
            continue
        audit('read', prefix, name, record=record_id, representation='html')
        vals.append(XML(xml_decode(item[fieldname]['text'])))
    vals.sort()
    represent = TAG[''](list(chain.from_iterable([[v, ',    '] for v in vals]))[:(-1)])
    return TABLE(TBODY(TR(TD(represent))))
