[Zope] question about PathHandler

Chris Withers chrisw@nipltd.com
Wed, 16 May 2001 11:01:48 +0100


Kevin L wrote:
> 
> But I want the PathHandler to call a DTML method in a subfolder,
> for example /folder1/subfolder1/index_html
> 
> Is this possible and if so what is the syntax for the Method
> property of the PathHandler.

Hmm, not currently, but if you change line 89 to:

return self.restrictedTraverse(self.Method)

and line line 101 to:

return self.restrictedTraverse(self.Method)(self,REQUEST)

...then you can use a path exactly as you have done above :-)

cheers,

Chris