equal
deleted
inserted
replaced
232 |
232 |
233 # XXX support kwargs for compat with old boxes which gets the view as |
233 # XXX support kwargs for compat with old boxes which gets the view as |
234 # argument |
234 # argument |
235 def render(self, w, **kwargs): |
235 def render(self, w, **kwargs): |
236 if hasattr(self, 'call'): |
236 if hasattr(self, 'call'): |
237 warn('[3.10] should not anymore implements call on %s, see new CtxComponent api' |
237 warn('[3.10] should not anymore implement call on %s, see new CtxComponent api' |
238 % self.__class__, DeprecationWarning) |
238 % self.__class__, DeprecationWarning) |
239 self.w = w |
239 self.w = w |
240 def wview(__vid, rset=None, __fallback_vid=None, **kwargs): |
240 def wview(__vid, rset=None, __fallback_vid=None, **kwargs): |
241 self._cw.view(__vid, rset, __fallback_vid, w=self.w, **kwargs) |
241 self._cw.view(__vid, rset, __fallback_vid, w=self.w, **kwargs) |
242 self.wview = wview |
242 self.wview = wview |