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
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
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