web/views/cwuser.py
changeset 3377 dd9d292b6a6d
parent 2971 bc0a270622c2
child 3451 6b46d73823f5
--- a/web/views/cwuser.py	Wed Sep 23 08:42:52 2009 +0200
+++ b/web/views/cwuser.py	Wed Sep 23 09:29:39 2009 +0200
@@ -17,7 +17,7 @@
 uicfg.primaryview_section.tag_attribute(('CWUser', 'login'), 'hidden')
 
 class UserPreferencesEntityAction(action.Action):
-    id = 'prefs'
+    __regid__ = 'prefs'
     __select__ = (one_line_rset() & implements('CWUser') &
                   match_user_groups('owners', 'managers'))
 
@@ -30,7 +30,7 @@
 
 
 class FoafView(EntityView):
-    id = 'foaf'
+    __regid__ = 'foaf'
     __select__ = implements('CWUser')
 
     title = _('foaf')