web/views/primary.py
changeset 6141 b8287e54b528
parent 6140 65a619eb31c4
child 6279 42079f752a9c
--- a/web/views/primary.py	Wed Aug 25 10:01:11 2010 +0200
+++ b/web/views/primary.py	Wed Aug 25 10:29:07 2010 +0200
@@ -90,7 +90,7 @@
 
     def content_navigation_components(self, context):
         self.w(u'<div class="%s">' % context)
-        for comp in self._cw.vreg['contentnavigation'].poss_visible_objects(
+        for comp in self._cw.vreg['ctxcomponents'].poss_visible_objects(
             self._cw, rset=self.cw_rset, row=self.cw_row, view=self, context=context):
             try:
                 comp.render(w=self.w, row=self.cw_row, view=self)
@@ -213,7 +213,7 @@
 
     def _prepare_side_boxes(self, entity):
         sideboxes = []
-        boxesreg = self._cw.vreg['boxes']
+        boxesreg = self._cw.vreg['ctxcomponents']
         for rschema, tschemas, role, dispctrl in self._section_def(entity, 'sideboxes'):
             rset = self._relation_rset(entity, rschema, role, dispctrl)
             if not rset:
@@ -344,6 +344,6 @@
 _pvs = uicfg.primaryview_section
 for rtype in ('eid', 'creation_date', 'modification_date', 'cwuri',
               'is', 'is_instance_of', 'identity', 'owned_by', 'created_by',
-              'require_permission', 'see_also'):
+              'require_permission'):
     _pvs.tag_subject_of(('*', rtype, '*'), 'hidden')
     _pvs.tag_object_of(('*', rtype, '*'), 'hidden')