view.py
changeset 6847 c1d33aff7715
parent 6769 d784d64f28d0
child 6882 b5e34836f84e
--- a/view.py	Wed Jan 19 09:31:15 2011 +0100
+++ b/view.py	Wed Jan 19 12:47:04 2011 +0100
@@ -209,10 +209,11 @@
         if rset is None:
             raise NotImplementedError, (self, "an rset is required")
         wrap = self.templatable and len(rset) > 1 and self.add_div_section
-        # XXX propagate self.extra_kwars?
+        # XXX propagate self.extra_kwargs?
         for i in xrange(len(rset)):
             if wrap:
                 self.w(u'<div class="section">')
+            self.cw_row = i
             self.wview(self.__regid__, rset, row=i, **kwargs)
             if wrap:
                 self.w(u"</div>")