web/views/primary.py
changeset 2058 7ef12c03447c
parent 1977 606923dff11b
child 2144 51c84d585456
--- a/web/views/primary.py	Fri Jun 05 15:06:55 2009 +0200
+++ b/web/views/primary.py	Fri Jun 05 15:09:20 2009 +0200
@@ -85,8 +85,8 @@
 
     def content_navigation_components(self, context):
         self.w(u'<div class="%s">' % context)
-        for comp in self.vreg.possible_vobjects('contentnavigation',
-                                                self.req, self.rset, row=self.row,
+        for comp in self.vreg.possible_vobjects('contentnavigation', self.req,
+                                                rset=self.rset, row=self.row,
                                                 view=self, context=context):
             try:
                 comp.render(w=self.w, row=self.row, view=self)
@@ -162,7 +162,7 @@
             label = display_name(self.req, rschema.type, role)
             vid = dispctrl.get('vid', 'sidebox')
             sideboxes.append( (label, rset, vid) )
-        sideboxes += self.vreg.possible_vobjects('boxes', self.req, self.rset,
+        sideboxes += self.vreg.possible_vobjects('boxes', self.req, rset=self.rset,
                                                  row=self.row, view=self,
                                                  context='incontext')
         return sideboxes