[Zope-CMF] Visibility of global variables

Andreas Jung Andreas Jung <lists@andreas-jung.com>
Tue, 15 Oct 2002 15:29:06 +0200


Inside a ZPT I have something like:

<html...>
<span tal:define="global is_allowed python: here.is_allowed()" />

<div metal:fill-slot="main">

  <div tal:condition="is_allowed"> ....


This fails with "Undefined, is_allowed is not found in 'is_allowed'".

Bug or feature?

Andreas