[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/SQLScript/Views/Browser - testResults.pt:1.2

Albertas Agejevas alga@codeworks.lt
Mon, 2 Dec 2002 15:04:19 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Content/SQLScript/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv5490/lib/python/Zope/App/OFS/Content/SQLScript/Views/Browser

Modified Files:
	testResults.pt 
Log Message:
Added stats reporting to the RAMCache.
Had to make Zope.App.RDB.ResultSet pickleable on the way.
Renamed ResultSet.names to ResultSet.columns.
Updated SQLScript to pass the location to the cache, not self.


=== Zope3/lib/python/Zope/App/OFS/Content/SQLScript/Views/Browser/testResults.pt 1.1 => 1.2 ===
--- Zope3/lib/python/Zope/App/OFS/Content/SQLScript/Views/Browser/testResults.pt:1.1	Wed Jul 10 20:03:18 2002
+++ Zope3/lib/python/Zope/App/OFS/Content/SQLScript/Views/Browser/testResults.pt	Mon Dec  2 15:03:48 2002
@@ -9,22 +9,22 @@
     <pre tal:content="view/getRenderedSQL" />
 
     <table border="1" cellspacing="0" cellpadding="2"
-        tal:define="result view/getTestResults" 
+        tal:define="result view/getTestResults"
         tal:condition="result">
-      <tbody>   
-      
+      <tbody>
+
         <tr>
-          <th tal:repeat="field result/names"
+          <th tal:repeat="field result/columns"
               tal:content="field">Field Name</th>
         </tr>
 
         <tr tal:repeat="row result">
-          <td tal:repeat="field result/names"
+          <td tal:repeat="field result/columns"
               tal:content="python: getattr(row, field)">Value</td>
         </tr>
 
-          	
-      </tbody>     
+
+      </tbody>
     </table>
 
     <span tal:condition="view/error">