[Zope] Newbie: Missing a Variable (TAL/METAL Question)

Andreas Jung lists at zopyx.com
Fri Jul 28 09:48:19 EDT 2006

--On 28. Juli 2006 06:45:34 -0700 beno - <purabachata at yahoo.com> wrote:

> I have done as you say and get this error:
>   KeyError: '$var'
>   Here are the code lines I added into the table:
>   <td><tal:content
> metal:use-macro="here/$var/macros/author">author</tal:content></td>
> <td><tal:content
> metal:use-macro="here/$var/macros/content">content</tal:content></td>

Please read carefully.
There is no documentation that told you about "$var".
You might use "?var" instead.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20060728/7dc63a7a/attachment.bin

More information about the Zope mailing list