[Zope] manage_addDTMLMethod params?

Craig Allen cba@mediaone.net
Sat, 22 May 1999 00:14:30 -0400


> I want to create a DTML using an id that I assign and text from a form.  What
> would be the syntax?  The manage_addDTMLMethod method says it wants a file as
> the contents, as in:
>   manage_addDTMLMethod(self, id, [title, file, REQUEST, submit])
> but I want to give it a request variable, as in REQUEST['doc_text']
> How can I do this?

Nevermind!  I tried one last shot, and it worked.  Apparently 'file' doesn't
necessarily mean file...
<!--#with
"manage_addDTMLMethod(_.str(unique_id1),REQUEST['document_name'],REQUEST['doc_text'],)"-->
<!--#/with-->

-- 
Craig Allen  - Managing Partner - Mutual Alchemy
Information Architecture - http://alchemy.nu