<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=koi8-r">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#fffbf0>
<DIV>I have problem with below code:<BR>------A.py------<BR>def
aaa(self):<BR> " "<BR> # do
something<BR>class A:<BR>
manage_AAAForm2=DTMLFile('dtml\manage_AAAForm2',globals())<BR>
def aa(self, sub):<BR> "
"<BR> if
sub=='edit':<BR>
return self.manage_AAAForm2(self,self.REQUEST)<BR><BR>-----file
manage_AAAForm2.dtml---- (this was not correct post in prev
message)<BR><form name="form" action="aaa"><BR> <input
type="text" name="Name" value=<dtml-var Name>><BR> <input
type="submit" name=sub value="edit"><BR></form><BR><BR>Zope
write:<BR>Site Error<BR>An error was encountered while publishing this resource.
<BR>Debugging Notice<BR>Zope has encountered a problem publishing your object.
<BR>Cannot locate object at: <A
href="http://localhost:8080/min/1/aaa">http://localhost:8080/min/1/aaa</A><BR><BR>Zope
cannot find function aaa() from A.py.<BR><BR>How can I call python functhion in
dtml-file?<BR><BR>Regard,<BR>Serg</DIV></BODY></HTML>