web/views/isioc.py
changeset 3396 fb261afd49cd
parent 3377 dd9d292b6a6d
child 3451 6b46d73823f5
--- a/web/views/isioc.py	Wed Sep 23 09:54:01 2009 +0200
+++ b/web/views/isioc.py	Wed Sep 23 09:54:25 2009 +0200
@@ -14,7 +14,7 @@
 from cubicweb.interfaces import ISiocItem, ISiocContainer
 
 class SIOCView(EntityView):
-    id = 'sioc'
+    __regid__ = 'sioc'
     __select__ = EntityView.__select__ & implements(ISiocItem, ISiocContainer)
     title = _('sioc')
     templatable = False
@@ -38,7 +38,7 @@
         self.wview('sioc_element', self.rset, row=row, col=col)
 
 class SIOCContainerView(EntityView):
-    id = 'sioc_element'
+    __regid__ = 'sioc_element'
     __select__ = EntityView.__select__ & implements(ISiocContainer)
     templatable = False
     content_type = 'text/xml'
@@ -59,7 +59,7 @@
 
 
 class SIOCItemView(EntityView):
-    id = 'sioc_element'
+    __regid__ = 'sioc_element'
     __select__ = EntityView.__select__ & implements(ISiocItem)
     templatable = False
     content_type = 'text/xml'