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

  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.


Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to