web/views/navigation.py
branchstable
changeset 3689 deb13e88e037
parent 3018 e872e57e70d0
child 3720 5376aaadd16b
child 3751 ff404cef5244
--- a/web/views/navigation.py	Thu Oct 15 18:43:04 2009 +0200
+++ b/web/views/navigation.py	Thu Oct 15 20:29:21 2009 +0200
@@ -64,7 +64,7 @@
             def index_display(row):
                 entity = rset.get_entity(row, col)
                 return entity.printable_value(attrname, format='text/plain')
-        elif self.schema.eschema(rset.description[0][col]).is_final():
+        elif self.schema.eschema(rset.description[0][col]).final:
             def index_display(row):
                 return unicode(rset[row][col])
         else:
@@ -99,7 +99,7 @@
                 attrname = rel.r_type
                 if attrname == 'is':
                     continue
-                if not rschema(attrname).is_final():
+                if not rschema(attrname).final:
                     col = var.selected_index()
                     attrname = None
                 if col is None: