--- a/web/views/cwuser.py Wed Sep 23 19:26:38 2009 +0200
+++ b/web/views/cwuser.py Wed Sep 23 19:40:19 2009 +0200
@@ -25,7 +25,7 @@
category = 'mainactions'
def url(self):
- login = self.rset.get_entity(self.row or 0, self.col or 0).login
+ login = self.cw_rset.get_entity(self.cw_row or 0, self.col or 0).login
return self.build_url('cwuser/%s'%login, vid='propertiesform')
@@ -41,8 +41,8 @@
self.w(u'''<?xml version="1.0" encoding="%s"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3org/2000/01/rdf-schema#"
- xmlns:foaf="http://xmlns.com/foaf/0.1/"> '''% self.req.encoding)
- for i in xrange(self.rset.rowcount):
+ xmlns:foaf="http://xmlns.com/foaf/0.1/"> '''% self._cw.encoding)
+ for i in xrange(self.cw_rset.rowcount):
self.cell_call(i, 0)
self.w(u'</rdf:RDF>\n')