Table of Contents

Class: myTable Zope-2.2.1-src/lib/python/Products/ZGadflyDA/gadfly/remotetest.py

A remote view must define self.column_names to return a (fixed) list of string column names and self.listing() to return a possibly varying list of row values. If there is a single column the listing() list must return a list of values, but for multiple columns it must return a list of tuples with one entry for each column.

The remote view implementation may optionally redefine __init__ also, please see gfintrospect.py

Base Classes   
gfintrospect.RemoteView
Methods   
__init__
listing
  __init__ 
__init__ (
        self,
        column_names=None,
        rowlist=None,
        )

do whatever needed for initialization

  listing 
listing ( self )

return list of tuples of right sizes to match column_names. for more interesting views this will do something more complex ;).


Table of Contents

This document was automatically generated on Mon Sep 4 07:33:06 2000 by HappyDoc version r0_6