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() 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
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)
def __init__(self, field, request): SimpleInputWidget.__init__(self, field, request)