'This method set\'s up the variables that will be used by all
display methods of fields for the question type.
It uses the metadata to define the look of the field'

def initDisplay(self, **attr):

    if ('question_id' in attr):
        self.id = attr['question_id']
    if (self.id is None):
        raise Exception('Need    to    specify    the    question_id    for    this    QuestionType')
    qstn_id = self.id
    self._store_metadata(qstn_id)
    attr['_name'] = self.question.code
    self.attr = attr
