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

Dieter Maurer dieter at handshake.de
Thu Jul 27 14:08:54 EDT 2006


beno - wrote at 2006-7-26 15:04 -0700:
> ...
>  that works fine. But I'd like to call the following in that table:
>   
>  <td><tal:content metal:use-macro="here/XXX/macros/author"></tal:content></td>
>
>  where "XXX" is the "item" that changes each time a new item from the batch is called.

You might try something like "here/?var/...".

"?var" reads the contents of the variable "var" and inserts this content
into the path expression.

Note that the value must be a string and that embedded '/' are *not*
treated as path separators.



-- 
Dieter


More information about the Zope mailing list