[Zope] Render SQL method as lines

tom smith tom@othermedia.com
Tue, 20 Mar 2001 17:14:11 +0000


on 20/3/01 4:21 PM, Kenneth Ellested at ke@younameit.dk wrote:

> How do I render a SQL method as lines ?
> 
> I'd like to make a DB lookup for a Multi-Selection property.
> 
> This is my DTML method (getNames is a SQL method):
> <dtml-in getNames>
> <dtml-var name>
> </dtml-in>

add...

<dtml-call "RESPONSE.setHeader('Content-Type', 'text/plain')">

...and it should work

tom