Re: [Zope] Confusing aq - I don't get it, anyone know why?
3 Aug
2000
3 Aug
'00
9:11 p.m.
Brad Clements writes:
... Name Error in called DTML method ....
<dtml-var "FormatColumnTable(columnlist=packagecolumns,obj=GetSelf(),notable=1)">
Here, you break the namespace propagation! As a general rule: If you call a DTML object explicitely (i.e. inside "..."), then *always* use "_.None" (or an object or object tuple) and "_" as the first two positional parameters. Only after these two, use your parameters as keyword parameters. If you do not, you break the namespace propagation (passing the "_" down to your called DTML object). If you use the DTML object outside "..." (or in _[...]), then the DTML magic does automatic propagation. Inside "...", you must do it explicitely. Dieter
9377
Age (days ago)
9377
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dieter Maurer