def __init__(self, path, **kwargs):
        GetHandler.__init__(self, path, **kwargs)

        self.pathList = Utils.parsePath(path[1])

        _view = getattr(Edit, self.pathList[-1])
        self.view = _view(path = '/'.join(self.pathList), query = kwargs['query'])

        self.check_permission(**kwargs)
        self.view.toTemplate.userContext = self.userContext
 def __init__(self, path, **kwargs):
     self.pathList = Utils.parsePath(path[0])
     PostHandler.__init__(self, path, **kwargs)
    def __init__(self, path, **kwargs):
        GetHandler.__init__(self, path, **kwargs)

        self.pathList = Utils.parsePath(path[0])

        self.view = MainView(path = '/'.join(self.pathList), query = kwargs['query'])