Esempio n. 1
0
 def schema(self):
     return ChooseWPSSchema().bind(wps_list=get_wps_list(self.request))
Esempio n. 2
0
 def view(self):
     items = []
     for wps in get_wps_list(self.request):
         url = self.request.route_path("processes_list", _query=[("wps", wps.identifier)])
         items.append(dict(title=wps.title, description=wps.abstract, url=url))
     return dict(title="Web Processing Services", items=items)