[Zope] DTML abc?
Oleg Broytmann
phd@phd.fep.ru
Sat, 9 Jun 2001 15:48:40 +0400 (MSD)
On Sat, 9 Jun 2001, Paz wrote:
> Just out of curiosity, what is the difference between these two lines Oleg?
>
> <dtml-var "_.getitem('index.html', 0)">
Return just the object, so you can ask the object for its properties,
for example.
> <dtml-var "_.getitem('index.html', 1)">
Return string representation of the object. If the object is renderable
(callable) - render (call) it. Of course, you cannot ask the resulting
string if the original object had any properties.
Oleg.
----
Oleg Broytmann http://phd.pp.ru/ phd@phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.