Index: waeup/branches/ulif-rewrite/src/waeup/widgets/table.py
===================================================================
--- waeup/branches/ulif-rewrite/src/waeup/widgets/table.py	(revision 4418)
+++ waeup/branches/ulif-rewrite/src/waeup/widgets/table.py	(revision 4419)
@@ -57,20 +57,4 @@
         return result
 
-    def castValue(self, value, type):
-        return value
-        if type == 'int':
-            return str(value)
-        return "'%s'" % value
-    
-    def castRow(self, row):
-        """Lookup type of each column and cast values to strings usable in JS
-        code.
-        """
-        result = []
-        for num, value in enumerate(row):
-            type = self.cols[num].type
-            result.append(self.castValue(value, type))
-        return result
-
     def getRows(self):
         data_cols = (x.data for x in self.cols)
@@ -125,5 +109,5 @@
 
     
-class YUIStaticTable(grok.View):
+class YUIStaticTableView(grok.View):
     grok.context(Interface)
     grok.name('yuistatictables.js')
@@ -134,15 +118,6 @@
             provider = ITableProvider(self.context)
         except:
-            # Couldn't find a table provider for the context. Okay, if
-            # the context is a view, we try to lookup the context of
-            # the context...
-            if hasattr(self.context, 'context'):
-                try:
-                    print self.context.context
-                    provider = ITableProvider(self.context.context)
-                except:
-                    return ''
-            else:
-                return ''
+            # No table provider for the context. Be gentle...
+            return ''
         self.response.setHeader('Content-Type',
                                 'text/javascript; charset=UTF-8')
