[Zope] REQUEST is too crowded
Martijn Pieters
mj@antraciet.nl
Tue, 02 Nov 1999 22:10:14 +0100
At 20:20 2-11-99 , Itamar Shtull-Trauring wrote:
>Kevin Dangoor wrote:
>
> > > <dtml-in "_.getitem(zcatalog, 1)">
> > > <dtml-call "REQUEST.set('newurl', '/' + getpath(data_record_id_))">
> > > </dtml-in>
> >
> > How about:
> >
> > <dtml-in "_[zcatalog]({'title' : 'foo', 'metatype' : 'Folder'})">
>
>Doesn't seem to work, I get:
> Error Type: AttributeError
> Error Value: no __call__ method defined
Because that should read:
<dtml-in "_.getitem(zcatalog, 0)({'title' : 'foo', 'metatype' : 'Folder'})">
--
Martijn Pieters, Web Developer
| Antraciet http://www.antraciet.nl
| T: +31 35 7502100 F: +31 35 7502111
| mj@antraciet.nl http://www.antraciet.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
---------------------------------------------