[Zope] 'id' name clash
Casey Duncan
c.duncan@nlada.org
Wed, 2 Jan 2002 12:22:41 -0500
On Wednesday 02 January 2002 11:36 am, John Hunter allegedly wrote:
> 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.
>
> Is there a way to selectively access the id parameter rather than the
> Zope var 'id'.
>
> Thanks,
> John Hunter
<dtml-with name="REQUEST">
<dtml-var id>
...
</dtml-with>
or
<dtml-var expr="REQUEST.id">
hth,
/---------------------------------------------------\
Casey Duncan, Sr. Web Developer
National Legal Aid and Defender Association
c.duncan@nlada.org
\---------------------------------------------------/