web/views/actions.py
changeset 4413 1b87d51f34d3
parent 4412 eaff00ef0a71
child 4419 1f777d13a76b
--- a/web/views/actions.py	Fri Jan 29 18:57:37 2010 +0100
+++ b/web/views/actions.py	Fri Jan 29 21:07:37 2010 +0100
@@ -297,10 +297,10 @@
                                   __redirectvid=self._cw.form.get('vid', ''))
 
 
-class ViewSameCWEType(Action):
+class ViewSameCWEType(action.Action):
     """when displaying the schema of a CWEType, offer to list entities of that type
     """
-    id = 'entitiesoftype'
+    __regid__ = 'entitiesoftype'
     __select__ = one_line_rset() & implements('CWEType')
     category = 'mainactions'
     order = 40