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)
Exemplo n.º 2
0
    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)
Exemplo n.º 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
Exemplo n.º 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)
Exemplo n.º 6
0
 def __init__(self, field, request):
     
     SimpleInputWidget.__init__(self, field, request)
Exemplo n.º 7
0
    def __init__(self, field, request):

        SimpleInputWidget.__init__(self, field, request)