web/views/igeocodable.py
branch3.0
changeset 431 18b4dd650ef8
parent 0 b97547f5f1fa
child 553 c69eac8298c0
--- a/web/views/igeocodable.py	Thu Jan 15 13:27:17 2009 +0100
+++ b/web/views/igeocodable.py	Thu Jan 15 13:27:33 2009 +0100
@@ -4,7 +4,7 @@
 
 from cubicweb.interfaces import IGeocodable
 from cubicweb.common.view import EntityView
-from cubicweb.common.selectors import interface_selector
+from cubicweb.common.selectors import implement_interface
 
 class GeocodingJsonView(EntityView):
     id = 'geocoding-json'
@@ -12,7 +12,7 @@
     templatable = False
     content_type = 'application/json'
 
-    __selectors__ = (interface_selector,)
+    __selectors__ = (implement_interface,)
     accepts_interfaces = (IGeocodable,)
     
     def call(self):
@@ -44,7 +44,7 @@
 class GoogleMapBubbleView(EntityView):
     id = 'gmap-bubble'
     
-    __selectors__ = (interface_selector,)
+    __selectors__ = (implement_interface,)
     accepts_interfaces = (IGeocodable,)
     
     def cell_call(self, row, col):
@@ -56,7 +56,7 @@
 class GoogleMapsView(EntityView):
     id = 'gmap-view'
     
-    __selectors__ = (interface_selector,)
+    __selectors__ = (implement_interface,)
     accepts_interfaces = (IGeocodable,)
     need_navigation = False