--- 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