Package gavo :: Package web :: Module htmltable :: Class HTMLTableFragment
[frames] | no frames]

Class HTMLTableFragment

source code

                  object --+            
                           |            
      nevow.rend.DataFactory --+        
                               |        
                  object --+   |        
                           |   |        
    nevow.rend.RenderFactory --+        
                               |        
                  object --+   |        
                           |   |        
     nevow.rend.MacroFactory --+        
                               |        
                  object --+   |        
                           |   |        
nevow.rend.ConfigurableMixin --+        
                               |        
             nevow.rend.Fragment --+    
                                   |    
                    HTMLDataRenderer --+
                                       |
                                      HTMLTableFragment

A nevow renderer for result tables.

Instance Methods
 
render_rowSet(self, ctx, items) source code
 
render_tableBody(self, ctx, data)
returns HTML-rendered table rows in chunks of rowsPerDivision.
source code

Inherited from HTMLDataRenderer: __init__, data_fielddefs, render_footnotes, render_headCells, render_meta, render_useformatter

Inherited from nevow.rend.Fragment: __provides__, get, remember, rememberStuff, rend

Inherited from nevow.rend.DataFactory: __providedBy__, child

Inherited from nevow.rend.RenderFactory: render_data, render_mapping, render_sequence, render_string, render_xml, renderer

Inherited from nevow.rend.MacroFactory: macro

Inherited from nevow.rend.ConfigurableMixin: getBinding, getBindingNames, getDefault, postForm

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  rowsPerDivision = 25
  docFactory = <nevow.loaders.stan object>
hash(x)

Inherited from nevow.rend.Fragment: __implemented__, original

Properties

Inherited from object: __class__

Method Details

render_tableBody(self, ctx, data)

source code 

returns HTML-rendered table rows in chunks of rowsPerDivision.

We don't use stan here since we can concat all those tr/td much faster ourselves.