def __init__(self, group_id, label="", **props): RenderableContainer.__init__(self) Renderable.__init__(self, group_id, **props) self.label = label self.is_group = True self.property_keys += ['label', ]
def __json__(self, request): """ join json representation from both base classes """ json = RenderableContainer.__json__(self, request) json.update(Renderable.__json__(self, request)) return json
def __init__(self, group_id, label="", **props): RenderableContainer.__init__(self) Renderable.__init__(self, group_id, **props) self.label = label