'Add XML for a widget to this channel
@param widget: the widget XML (e.g. DIV instance)
@param position: the position of the widget in the channel,
if there are multiple widgets in the channel'

def add_widget(self, widget, position=None):

    widgets = self.widgets
    if (position not in widgets):
        widgets[position] = [widget]
    else:
        widgets[position].append(widget)
