def __init__(self, field, request):
        SimpleInputWidget.__init__(self, field, request)

        # field/settings/context
        self.slider_url = self.context.context.context.absolute_url()
        # field/settings
        self.settings = self.context.context
        # since this uses the same .pt file
        self.css = slider_settings_css(self.settings)
    def __init__(self, field, request):
        SimpleInputWidget.__init__(self, field, request)

        # field/settings/context
        self.slider_url = self.context.context.context.absolute_url()
        # field/settings
        self.settings = self.context.context
        # since this uses the same .pt file
        self.css = slider_settings_css(self.settings)
示例#3
0
    def __init__(self, field, request):
        SimpleInputWidget.__init__(self, field, request)

        # field/settings/context
        self.slider_url = self.context.context.context.absolute_url()
        self.portal_url = self.context.context.context.portal_url()
        # field/settings
        self.settings = self.context.context
        self.slides = self.settings.slides
        self.class_name = self.settings.configuration
示例#4
0
    def __init__(self, field, request):
        SimpleInputWidget.__init__(self, field, request)

        # field/settings/context
        self.tiles_url = self.context.context.context.absolute_url()
        self.portal_url = self.context.context.context.portal_url()
        # field/settings
        self.settings = self.context.context
        # since this uses the same .pt file
        self.tiles = self.settings.tiles
 def __init__(self, field, request):
     SimpleInputWidget.__init__(self, field, request)
     self.source = field.source
     self.terms = getMultiAdapter((self.source, self.request), ITerms)
     self.queryview = getMultiAdapter((self.source, self.request), ISourceQueryView)
示例#6
0
 def __init__(self, field, request):
     
     SimpleInputWidget.__init__(self, field, request)
示例#7
0
    def __init__(self, field, request):

        SimpleInputWidget.__init__(self, field, request)