web/views/emailaddress.py
changeset 2789 39712da6f397
parent 2312 af4d8f75c5db
child 3023 7864fee8b4ec
--- a/web/views/emailaddress.py	Wed Aug 12 18:40:52 2009 +0200
+++ b/web/views/emailaddress.py	Wed Aug 12 19:09:32 2009 +0200
@@ -76,7 +76,7 @@
     __select__ = implements('EmailAddress')
 
     def cell_call(self, row, col, **kwargs):
-        entity = self.entity(row, col)
+        entity = self.rset.get_entity(row, col)
         if entity.reverse_primary_email:
             self.w(u'<b>')
         if entity.alias:
@@ -96,7 +96,7 @@
     __select__ = implements('EmailAddress')
 
     def cell_call(self, row, col, **kwargs):
-        entity = self.entity(row, col)
+        entity = self.rset.get_entity(row, col)
         if entity.reverse_primary_email:
             self.w(u'<b>')
         if entity.alias:
@@ -119,4 +119,4 @@
     __select__ = implements('EmailAddress')
 
     def cell_call(self, row, col, **kwargs):
-        self.w(self.entity(row, col).display_address())
+        self.w(self.rset.get_entity(row, col).display_address())