[Zope] 'id' name clash

Dieter Maurer dieter@handshake.de
Wed, 2 Jan 2002 23:28:44 +0100


John Hunter writes:
 > I am working with a mysql database that has a field id.  
 > 
 > When that parameter is passed from my form via the CGI syntax
 > http://some.url?id=1234
 > 
 > I cannot access it in my DTML method because 
 > <dtml-var id> returns the Folder name.
Use '<dtml-var expr="REQUEST.id">'.

This is explained in (e.g.) the Zope Book...


Dieter