[Zope] Can't nest dtml-in using prefix ...
dieter at handshake.de
Sat Jul 29 16:07:37 EDT 2006
Jesper Steen Steffensen wrote at 2006-7-28 22:27 +0200:
>This won't work:
><dtml-in qry_user_roles prefix="outer">
> <dtml-in qry_roles>
> <dtml-if expr="outer_role==role">
> Roles are matching
>I get an error that says key error - outer_role doesn't exist.
>It doesn't matter if I prefix the inner dtml-in as well. (I've read it isn't
>Why won't the prefix work for me?
The prefix affects only the "sequence-" variables (it replaces the
"sequence-" prefix by "<prefix>_"). It does not do anything with
the other (non "sequence-" prefixed) variables definied by the "dtml-in".
More information about the Zope