'This displays the widget on a web form. It uses the layout
function to control how the widget is displayed'

def display(self, **attr):

    self.initDisplay(**attr)
    value = self.getAnswer()
    input = self.webwidget.widget(self.field, value, **self.attr)
    return self.layout(self.question.name, input, **attr)
