[Zope] Namespace How-To?

Holger Hoffmann hohoff@rz.uni-potsdam.de
Wed, 14 Feb 2001 23:27:27 +0100


Hi,

Ulrich Wisser wrote:
> 
> Hi,
> 
> > > <dtml-var "reports.overview()">
> >
> >try <dtml-var "reports.overview(_.None, _)">
> 
> but why? What is this needed for?

if you use something like <dtml-var expr="..."> you have
to pass the namespace to the called DTML-Method/Document.
With something like <dtml-var index_html> Zope will pass
the namespace for you.

See
http://lists.zope.org/pipermail/zope/1999-December/057551.html

... Holger
 
> Viele Grüße
> 
> Ulrich
> --
> Searchengine Know How  - Webpromotion - Optimization - Internal Search
> World Wide Web Publisher, Ulrich Wisser, Odensvag 13, S-14571 Norsborg
> http://www.publisher.de   Tel: +46-8-53460905    Fax: +46-8-534 609 06