4 Oct
2002
4 Oct
'02
9:04 p.m.
Pablo Ziliani wrote:
Inside the template where macros are defined, I need to get its id
This is not possible with the current implementation, except by doing an ugly cut & paste define in the using template: <div tal:define="macro_t here/blah"> <div metal:use-macro="here/blah/macros/foo"> ... <span tal:replace="macro_t/id | template/id">ID</span> ... </div> </div> Sorry, Evan @ 4-am