[ctx component] has no wview method
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 13 Oct 2010 08:36:38 +0200
changeset 6468 40033d536ed8
parent 6467 869813c2dd40
child 6470 8936b6786fb9
[ctx component] has no wview method
web/component.py
--- a/web/component.py	Wed Oct 13 07:45:18 2010 +0200
+++ b/web/component.py	Wed Oct 13 08:36:38 2010 +0200
@@ -525,7 +525,7 @@
 
     def render_body(self, w):
         rset = self.entity.related(self.rtype, role(self))
-        self.wview(self.vid, rset)
+        self._cw.view(self.vid, rset, w=w)
 
 
 # old contextual components, deprecated ########################################