def get_display(self):
    title = self.get_option('title')
    if (not title):
        title = ''
    div = SpanWdg()
    div.add(('%s' % title))
    checkbox = CheckboxWdg('option')
    checkbox.set_attr('value', 'expr_items')
    checkbox.set_checked()
    cbjs_action = self.get_option('cbjs_action')
    if cbjs_action:
        checkbox.add_behavior({'type': 'click_up', 'propogate_evt': 'true', 'cbjs_action': cbjs_action})
    div.add(checkbox)
    return div
def get_display(self):
    title = self.get_option('title')
    if (not title):
        title = 
    div = SpanWdg()
    div.add(('%s' % title))
    checkbox = CheckboxWdg('option')
    checkbox.set_attr('value', 'expr_items')
    checkbox.set_checked()
    cbjs_action = self.get_option('cbjs_action')
    if cbjs_action:
        checkbox.add_behavior({'type': 'click_up', 'propogate_evt': 'true', 'cbjs_action': cbjs_action})
    div.add(checkbox)
    return div