def __init__(self, context, request): BrowserView.__init__(self, context, request) notes = INotes(context) self.notes = [note for note in notes if note.privacy == 'public' or note.owner == request.principal.id] if 'DELETE_NOTE' in request: notes.remove(request['uid'])
def __init__(self, context, request): BrowserView.__init__(self, context, request) notes = INotes(context) self.notes = [ note for note in notes if note.privacy == 'public' or note.owner == request.principal.id ] if 'DELETE_NOTE' in request: notes.remove(request['uid'])
def __init__(self, context, request): BrowserView.__init__(self, context, request)
def __init__(self, context, request): BrowserView.__init__(self, context, request)
def __init__(self, context, request): BrowserView.__init__(self, context, request) self.errors = [] self.success = []
def __init__(self, *args, **kw): BrowserView.__init__(self, *args, **kw) self.activity_vocabulary = getActivityVocabulary(self.context)
def __init__(self, context, request): # avoids setting IContentsPage on our FolderContentsView BrowserView.__init__(self, context, request)
def __init__(self, context, request): BrowserView.__init__(self, context, request) setUpWidgets(self, self.schema, IInputWidget)
def __init__(self, context, request): BrowserView.__init__(self, context, request) self.message = None
def __init__(self, context, request): BrowserView.__init__(self, context, request) setUpWidgets(self, self.schema, IInputWidget)
def __init__(self, context, request): BrowserView.__init__(self, context, request) self.message = None