CtxComponent don't have wview
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 11 Oct 2010 12:03:12 +0200
changeset 6437 d88be69179b8
parent 6435 71b2a3fe7ba1
child 6440 9d85f11983b0
CtxComponent don't have wview
web/views/basecomponents.py
--- a/web/views/basecomponents.py	Mon Oct 11 11:02:27 2010 +0200
+++ b/web/views/basecomponents.py	Mon Oct 11 12:03:12 2010 +0200
@@ -125,8 +125,9 @@
     def call(self):
         self.w(self._html % (self._cw._('login / password'),
                              self.loginboxid, self._cw._('i18n_login_popup')))
-        self.wview('logform', rset=self.cw_rset, id=self.loginboxid,
-                   klass='%s hidden' % self.loginboxid, title=False, showmessage=False)
+        self.view('logform', rset=self.cw_rset, id=self.loginboxid,
+                  klass='%s hidden' % self.loginboxid, title=False, showmessage=False,
+                  w=self.w)
 
 
 class HTTPLoginComponent(CookieLoginComponent):