[Zope] dtml problem

Klaus Herrmann Klaus Herrmann <klaus.herrmann@goelz.com>
15 Feb 2001 18:45:44 CET


Hi!

I have a problem with dtml and the docs won't help me out:

i want to call e.g. manage_edit on a dtml document. the document's id is stored
in the variable doc_id (e.g.). how do i call the function?

<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?

thanks in advance!
regards,
	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