[Zope] dtml problem
Klaus Herrmann
Klaus Herrmann <klaus.herrmann@goelz.com>
15 Feb 2001 19:10:15 CET
> On 15 Feb 2001, Klaus Herrmann wrote:
> > <dtml-call "_['doc_id'].manage_edit(_['doc_src'], _['doc_title'])">
> >
> > doesn't work, as zope treats _['doc_id'] as a string and complains that it
> > can't call manage_edit on a string. what's the correct code?
>
> <dtml-call "_.getitem('doc_id', 0).manage_edit(_['doc_src'],
_['doc_title'])">
>
already tried that, too. so success, exactly the same problem :-(
Klaus
--
Klaus Herrmann <klaus.herrmann@goelz.com>
Goelz & Schwarz GmbH, Munich
www.goelz.com
phone:+49 - (0)89 - 544 67 0 22
fax: +49 - (0)89 - 544 67 0 10