[Zope-DB] Adding presentation metadata to an SQL Method

Fernando Martins fmartins@hetnet.nl
Tue, 15 Apr 2003 01:48:32 +0200


> Kevin Chambers wrote:
...
> I would like to be able to extend an SQL Method so as to be able to add 
> presentation data about each field so that I could do iterate through a 
> collection of field objects and have each one produce the right 
> formattingin 
> HTML.  For example, specifying a css class or appropriate input type.
> 

Where is your presentation data coming from? 

How do you expect to link that information to the ZSQL Method?

You might want to look for "plugable brains".

Fernando