Esempio n. 1
0
 def serve():
     """Serve the page"""
     return bridge_response('REDIRECT:query')
Esempio n. 2
0
 def serve(filepath):
     """Serve the static files (resources)"""
     return bridge_response(
         'STATIC:%s:%s' %
         (filepath, configuration.get_path(MODULE_NAME, DIR_STATIC)))
Esempio n. 3
0
 def serve_object_page(oPage):
     return bridge_response(oPage.serve())
Esempio n. 4
0
 def serve():
   """Serve the page"""
   return bridge_response('REDIRECT:query')
Esempio n. 5
0
 def serve(filepath):
   """Serve the static files (resources)"""
   return bridge_response('STATIC:%s:%s' % (filepath, 
     configuration.get_path(MODULE_NAME, DIR_STATIC)))
Esempio n. 6
0
 def serve_object_page(oPage):
   return bridge_response(oPage.serve())