'Show object in view.'

def show_object(self, obj):

    mime_type = 'text/html'
    if obj.is_text_or_html():
        self._renderingWidget.render_data(obj.get_body(), long(len(obj.get_body())), str(obj.get_uri()), mime_type)
