13 Dec
2004
13 Dec
'04
10:48 p.m.
Martin Aspeli wrote:
metal:fill-slot="python:here.getSlotToFill ()"
though that doesn't work, because it doesn't evaulate the python: statement, taking it instead as a string (which is an invalid slot name).
Can this be done?
I suppose it could, if you banged hard enough, but that's not really what slots were made for... are you filling the slots with "live" ZPT snippets, or just HTML? If the latter, you probably want to use tal:content="structure stuff_to_insert". Cheers, Evan @ 4-am