[ZPT] problem...
Evan Simpson
evan@digicool.com
Fri, 20 Apr 2001 13:49:11 -0400
If I understand correctly, Daniel, you:
1. Created a template, with macro "master"
2. Gave "master" two slots, named "x" and "y"
3. Created a template that uses "master"
4. Filled slot "x" in this template, and didn't mention slot "y" at all.
You then were surprised when slot "y" was copied unchanged into the
template, because you expected "y" to be left out entirely.
Right now, the METAL code assumes that if you don't fill a slot, this means
that you want to accept it unchanged. To eliminate the slot, you need to
write something like:
<div metal:fill-slot="y" tal:replace="nothing"></div>
Boa Sorte,
Evan @ digicool