'Method to extract a generic title from the resource using the
crud strings
@param: resource: a S3Resource object
@return: the title as a String'

@staticmethod
def defaultTitle(resource):

    try:
        return current.response.s3.crud_strings.get(resource.table._tablename).get('title_list')
    except:
        return current.T(resource.name.replace('_', '    ')).decode('utf-8')
