[ZPT] METAL changes in SPT 1.4.1 has broken my ZPT...

Evan Simpson evan@zope.com
Mon, 15 Oct 2001 10:45:21 -0400


Tony McDonald wrote:

> I've upgraded to ZPT 1.4.1 under Zope 2.4.0 and the behaviour of METAL seems
> to have changed.


It's been cleaned up a lot, yes.

> <!-- Page Template Diagnostics
>  Compilation failed
>  TAL.TALDefs.METALError: fill-slot must be within a use-macro, at line 7,
> column 1
> -->
> <html 
> metal:use-macro="here/standard_look_and_feel/macros/master">
>   <head>
>     <title tal:content="template/title">The title</title>
>   </head>
> <body metal:fill-slot="body" >
> <div metal:fill-slot="main"

If this ever worked as written, it was a bug.  Your fill-slot="main" doesn't 
have a use-macro to fill.  ZPT just didn't complain about this before.

Cheers,

Evan @ Zope