Beispiel #1
0
 def index_html(self, REQUEST):
     """ public view of an AoA document """
     aoa_devel_hook(jsmap.__name__)
     options = {
     #    'map_config': json.dumps(jsmap.map_config_for_document(self)),
     }
     return self._index_html(REQUEST, **options)
Beispiel #2
0
 def __call__(self):
     aoa_devel_hook(__name__)
     aoa_devel_hook('naaya.ew_aoa_library.shadow')
     site = self.aq_parent.getSite()
     return json.dumps(get_map_async_config(site))
Beispiel #3
0
 def __call__(self):
     aoa_devel_hook(__name__)
     aoa_devel_hook(shadow.__name__)
     return set_up_catalog_indexes(self.aq_parent, self.request)