web/views/isioc.py
changeset 3377 dd9d292b6a6d
parent 2312 af4d8f75c5db
child 3451 6b46d73823f5
--- a/web/views/isioc.py	Wed Sep 23 08:42:52 2009 +0200
+++ b/web/views/isioc.py	Wed Sep 23 09:29:39 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'