[Zope] View a DTML Doc subclassed Z Class?
Lars Heber
Lars.Heber@t-systems.de
Mon, 26 Feb 2001 17:10:22 +0100
Hi there, it's me again.
Thanks for all your hints with the date converting thing.
Today I have another question:
I have I ZClassed subclassed by DTMLDocument.
My target is to initialize a number of DTML documents with some
properties.
No problem so far.
But how on earth do I simply VIEW this document???
It's simple, plain HTML / DTML. Why isn't there a standard method
activated on the Views tab in the ZClass?
I tried to write such a method myself - without success.
Let's say, the final instance's name is myDoc, then the following as
class method works:
<dtml-var myDoc>
Of course, I would also give out the properties!
But I don't know how the instance's name will be, when I write the class
method!
I tried things like:
<dtml-var "_['id']()">
Because this is obviously what I want to do: Just call the DTML doc.
I also tried
<dtml-call "_.getitem('id')()">
and similar things - didn't work.
I think I am completely blind, I'm doing something totally wrong, but I
don't know what.
Could you please help me another time?
Thousand Thanks
Lars