[Zope] Re: CASE in point -- [Zope] Simple dtml-unless problem
Thu, 14 Sep 2000 08:22:41 +0000 (GMT)
On Thu, 14 Sep 2000, Tim Hicks wrote:
> Thanks Albert and Oleg. If I'm honest, while I have become somewhat
> familiar with what Albert describes as zope's 'multiple personality
> disorder', I can't say I truly understand it. I still don't think I've
> got my head around the _['whatever'] syntax. From what Oleg says, if
> there is a method there, it will be called, otherwise it reverts to a
> string! Wow, that sounds like an awkward way to go about things. If I
> have that point right, how would I force zope to treat it as a string
> using the _[ syntax?
I think you cannot. Probbaly the best you can try is
^ do not render the object
Oleg Broytmann http://phd.pp.ru/ firstname.lastname@example.org
Programmers don't die, they just GOSUB without RETURN.