[Petal] tal/petal naming bug?

Kevin Teague kteague at bcgsc.ca
Wed Jul 21 22:30:14 BST 2004


Is the following a known bug in Petal?

<html>
<body>
   <div metal:use-macro="foo.pt#bar" />
</body>
</html>

And then within the foo.pt macro:

<div metal:define-macro="bar">
   <p tal:content="somevar" />
   <p metal:content="somevar" />
</div>

Only the second paragraph works, it seems that within a macro Petal only 
recognizes the "petal:" syntax and not the "tal:" syntax.

Also, thanks for implementing the metal:define-macro and metal:use-macro 
functions, these make writting larger TAL sites much nicer.

  - Kevin Teague
    Web Developer
    Canada's Michael Smith Genome Sciences Centre



More information about the Petal mailing list