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', ]
示例#2
0
    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', ]
示例#3
0
    def __init__(self, id, label, bind=None, hint="", help="", alert="",
                 **props):

        Renderable.__init__(self, id, **props)

        self.bind = bind
        self.label = label
        self.hint = hint
        self.help = help
        self.alert = alert
示例#4
0
    def __init__(self, id, label, bind=None, hint="", help="", alert="",
                 **props):

        Renderable.__init__(self, id, **props)

        self.bind = bind
        self.label = label
        self.hint = hint
        self.help = help
        self.alert = alert

        self.property_keys += ['bind', 'label', 'hint', 'help', 'alert', ]
示例#5
0
    def __init__(self,
                 id,
                 label,
                 bind=None,
                 hint="",
                 help="",
                 alert="",
                 **props):

        Renderable.__init__(self, id, **props)

        self.bind = bind
        self.label = label
        self.hint = hint
        self.help = help
        self.alert = alert
示例#6
0
    def __init__(self,
                 id,
                 label,
                 bind=None,
                 hint="",
                 help="",
                 alert="",
                 **props):

        Renderable.__init__(self, id, **props)

        self.bind = bind
        self.label = label
        self.hint = hint
        self.help = help
        self.alert = alert

        self.property_keys += [
            'bind',
            'label',
            'hint',
            'help',
            'alert',
        ]
 def __json__(self, request):
     """ join json representation from both base classes """
     json = RenderableContainer.__json__(self, request)
     json.update(Renderable.__json__(self, request))
     return json
示例#8
0
    def __init__(self, group_id, label="", **props):

        RenderableContainer.__init__(self)
        Renderable.__init__(self, group_id, **props)

        self.label = label
示例#9
0
 def __json__(self, request):
     """ join json representation from both base classes """
     json = RenderableContainer.__json__(self, request)
     json.update(Renderable.__json__(self, request))
     return json
示例#10
0
    def __init__(self, group_id, label="", **props):

        RenderableContainer.__init__(self)
        Renderable.__init__(self, group_id, **props)

        self.label = label