entity.py
changeset 4451 65f4665233e6
parent 4436 294e084f1263
child 4460 5c22869079b9
--- a/entity.py	Wed Feb 03 21:11:50 2010 +0100
+++ b/entity.py	Thu Feb 04 10:17:15 2010 +0100
@@ -274,7 +274,7 @@
 
     def view(self, __vid, __registry='views', **kwargs):
         """shortcut to apply a view on this entity"""
-        view = self._cw.vreg[__registry].select(vid, self._cw, rset=self.cw_rset,
+        view = self._cw.vreg[__registry].select(__vid, self._cw, rset=self.cw_rset,
                                                 row=self.cw_row, col=self.cw_col,
                                                 **kwargs)
         return view.render(row=self.cw_row, col=self.cw_col, **kwargs)