[Zope] How to access column names in DTML Methods

Dieter Maurer dieter@handshake.de
Tue, 14 Nov 2000 23:22:20 +0100 (CET)


Jose Soares writes:
 > I'm trying to display the column names of a Record object without success.
 > I'm able to access column data using sequence-item but I don't know
 > how to display column names.
The "Results" object has a method "names()" returning the
column names.

A Record object hides the names in a private attribute that
cannot be accessed from DTML (but it is possible from Python).


Dieter