Esempio n. 1
0
 def add_complete(self, req, doc):
     return pyml_response(req, self.wrapper_view, self.add_complete_view)
Esempio n. 2
0
 def data_complete(self, req, result):
     return pyml_response(req, self.wrapper_view, content=self.data_complete_view)
Esempio n. 3
0
 def edit_complete(self, req):
     return pyml_response(req, self.wrapper_view, self.edit_complete_view)
Esempio n. 4
0
 def directory_handler(self, req, filename, path):
     files, dirs = [], []
     for item in path.find():
         (dirs if item.isdir() else files).append(item)
     return pyml_response(req, self.directory_view, files, dirs)
Esempio n. 5
0
 def index(self, req):
     return pyml_response(req, self.index_view)
Esempio n. 6
0
 def index(self, req):
     return pyml_response(req, self.frame_view, content=self.index_view)
Esempio n. 7
0
 def default(self, req):
     return pyml_response(req, self.wrapper_view, content=self.index_view)