def add_complete(self, req, doc): return pyml_response(req, self.wrapper_view, self.add_complete_view)
def data_complete(self, req, result): return pyml_response(req, self.wrapper_view, content=self.data_complete_view)
def edit_complete(self, req): return pyml_response(req, self.wrapper_view, self.edit_complete_view)
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)
def index(self, req): return pyml_response(req, self.index_view)
def index(self, req): return pyml_response(req, self.frame_view, content=self.index_view)
def default(self, req): return pyml_response(req, self.wrapper_view, content=self.index_view)