def get_display(self):
    div = DivWdg()
    name = self.get_name()
    title = Common.get_display_title(name)
    operator = self.get_option('op')
    if (operator != 'not in'):
        operator = 'in'
    table = Table()
    div.add(table)
    table.add_row()
    table.add_color('color', 'color')
    name_div = DivWdg()
    table.add_cell(name_div)
    if (operator == 'in'):
        op = DivWdg('overlap &nbsp;')
    else:
        op = DivWdg('does not overlap ')
    table.add_cell(op)
    from tactic.ui.widget import CalendarInputWdg
    cal1 = CalendarInputWdg('start_date')
    table.add_cell(cal1)
    start_date = self.values.get('start_date')
    if start_date:
        cal1.set_value(start_date)
    table.add_cell(' and &nbsp;')
    cal2 = CalendarInputWdg('end_date')
    table.add_cell(cal2)
    end_date = self.values.get('end_date')
    if end_date:
        cal2.set_value(end_date)
    return div
def get_display(self):
    div = DivWdg()
    name = self.get_name()
    title = Common.get_display_title(name)
    operator = self.get_option('op')
    if (operator != 'not in'):
        operator = 'in'
    table = Table()
    div.add(table)
    table.add_row()
    table.add_color('color', 'color')
    name_div = DivWdg()
    table.add_cell(name_div)
    if (operator == 'in'):
        op = DivWdg('overlap &nbsp;')
    else:
        op = DivWdg('does not overlap ')
    table.add_cell(op)
    from tactic.ui.widget import CalendarInputWdg
    cal1 = CalendarInputWdg('start_date')
    table.add_cell(cal1)
    start_date = self.values.get('start_date')
    if start_date:
        cal1.set_value(start_date)
    table.add_cell(' and &nbsp;')
    cal2 = CalendarInputWdg('end_date')
    table.add_cell(cal2)
    end_date = self.values.get('end_date')
    if end_date:
        cal2.set_value(end_date)
    return div