[Zope] Newbie question on passing arguments
Rengasamy, Samy
srengasamy@firstam.com
Fri, 19 Apr 2002 13:51:42 -0500
I have a DTML Method:
<dtml-let webUrl="getRelativePath(rel=absolute_url(relative=1),
ip=hostIP)">
calling a script:
def getRelativePath(rel, ip):
weburl = ip + rel
return weburl
And getting the following error:
Zope ErrorZope has encountered an error while publishing this
resource.
Error Type: Type Error
Error Value: getRelativePath() takes no arguments (2 given)
What am I missing here...?
Thanks,
Samy Rengasamy.