[Zope] HTML() and external methods
Dieter Maurer
dieter@handshake.de
Tue, 24 Jul 2001 22:44:03 +0200 (CEST)
Albert Ting writes:
>
> I'm creating some external methods and rather than having my python script
> call a dtml method, I'd prefer to have it call a HTML instance.
> ...
> However, if the externalMethod was called
> from a form action, and the "hello" variable was defined in the form, I'm
> unable to do something like:
> ....
> def externalMethod(self):
> return testHTML(self,REQUEST=self.REQUEST)
The "REQUEST" equivalent for "HTML" is "mapping".
Dieter