web/views/sparql.py
branchstable
changeset 7393 7824d61f41a2
parent 7166 dde161937d3e
child 7460 2455cdbeadca
--- a/web/views/sparql.py	Mon May 16 21:41:50 2011 +0200
+++ b/web/views/sparql.py	Wed May 18 16:05:11 2011 +0200
@@ -123,7 +123,7 @@
     def cell_binding(self, row, col, varname):
         celltype = self.cw_rset.description[row][col]
         if self._cw.vreg.schema.eschema(celltype).final:
-            cellcontent = self.view('cell', self.cw_rset, row=row, col=col)
+            cellcontent = self._cw.view('cell', self.cw_rset, row=row, col=col)
             return E.binding(E.literal(cellcontent,
                                        datatype=xmlschema(celltype)),
                              name=varname)