web/views/basetemplates.py
changeset 609 08b82027edf8
parent 597 f8c1f8a40749
child 637 a78ffe83fadc
child 641 ed668804af37
child 859 17555e9b9854
--- a/web/views/basetemplates.py	Thu Feb 12 12:59:12 2009 +0100
+++ b/web/views/basetemplates.py	Fri Feb 13 09:28:04 2009 +0100
@@ -75,7 +75,6 @@
     - guess and call an appropriate view through the view manager
     """
     id = 'main'
-    nav_html = UStringIO()
 
     def _select_view_and_rset(self):
         req = self.req
@@ -165,6 +164,7 @@
                                                  self.req, self.rset)
         if etypefilter and etypefilter.propval('visible'):
             etypefilter.dispatch(w=self.w)
+        self.nav_html = UStringIO()
         self.pagination(self.req, self.rset, self.nav_html.write,
                         not (view and view.need_navigation))
         self.w(_(self.nav_html.getvalue()))