[ZPT] problem with ZPT and getHeader

Pete Phillips pete@smtl.co.uk
Thu, 09 Jan 2003 19:06:29 +0000


Hi

I am trying to use the method of setting up page templates as
described in chapter 9 of the Zope book.

However, I keep getting:

	Error type: undefined
	Error value: getbody not found in 'here/getBody' at line 25
	column 1

I have a file called master.html (which is a Page Template) containing
the macros, and that page is OK. When I call the page from another
file, it works as expected, it's only when I try to call up the
slots with 
	<p metal:fill-slot="body" tal:content="here/getBody">
that  things stop working.

Any ideas much appreciated.

Pete

--
Pete Phillips, Deputy Director,     |   http://www.smtl.co.uk/
Surgical Materials Testing Lab,     |   http://www.worldwidewounds.com/
Princess of Wales Hospital, S Wales |   http://www.dressings.org/
Tel/Fax: +44 1656-752820/30         |   pete@smtl.co.uk