[Zope] How to render a HTMLFile in a method in a product

Chris Withers chrisw@nipltd.com
Mon, 06 Nov 2000 12:23:38 +0000


Max Møller Rasmussen wrote:
> 
> From: Chris Withers [mailto:chrisw@nipltd.com]
> 
> Thanks for the reply
> 
> >testisDocTemp = 1
> 
> >def test(self,ignored,md):
> >    " A simple test method "
> >    return HTMLFile('skins/' + self.skin, globals())(None,md)
> 
> Is this documented anywhere? 

Not that I know of ;-)

> I have a little trouble using code I don't
> understand. Pretty Please.

I think there are only about two people on the face of the planet who
understand this completely. I'm not one of them :-(

cheers,

Chris