Re: [Zope] Creating a namespace

2001-01-29 Thread Dieter Maurer
Stephan Richter writes: I want to make my own name space with the following situation: class X: attributes = {'foo': 'bar'} x = X() Then I want to use it like that: dtml-with x dtml-var foo /dtml-with The result should be : bar I found out

[Zope-dev] Re: [Zope] Creating a namespace

2001-01-28 Thread Chris Withers
Stephan Richter wrote: ...and search the list archives. The e-groups search is pointless and never gives you anything useful (I did that already). So use the ones at NIP: http://zope.nipltd.com/public/lists.html Thanks so much for your hints, but I am just a little frustrated right now

[Zope] Creating a namespace

2001-01-27 Thread Stephan Richter
Hello everyone, I want to make my own name space with the following situation: class X: attributes = {'foo': 'bar'} x = X() Then I want to use it like that: dtml-with x dtml-var foo /dtml-with The result should be : bar I found out that I have to somehow use TemplateDict and