'ListControls are built up from component list items (which are also
ListControls) during parsing.  This method should be called after all
items have been added.  See ListControl.__doc__ for the reason this is
required.'

def fixup(self):

    for o in self.items:
        o.__dict__['_control'] = self
