[Zope] index.html in Python Script?

Erik Myllymaki erik.myllymaki at aviawest.com
Thu Apr 21 20:24:03 EDT 2005


How do address a ZPT with a name like index.html in a Python Script?

The following:

request = container.REQUEST
RESPONSE =  request.RESPONSE

if not request.has_key('next_state'):
   return container.index.html(context, request)

returns:

Error Type: AttributeError
Error Value: index


More information about the Zope mailing list