On Wed, 13 Sep 2000, Tim Hicks wrote:
> >Sometimes id is string, sometimes it is a function.
> >
> >
>
> Thanks very much guys. _['id'] fixed it.
I hope you understand that I forced Zope to call the id() function, but
only if it is function. Else _['id'] just returns the id string.
Ole
- Original Message -
From: "Oleg Broytmann" <[EMAIL PROTECTED]>
To: "Tim Hicks" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, September 13, 2000 12:56 PM
Subject: Re: [Zope] Simple dtml-unless problem
> On Wed, 13 Sep 2000, Tim
On Wed, 13 Sep 2000, Tim Hicks wrote:
>
Sometimes id is string, sometimes it is a function.
Oleg.
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
Depending on the object in question id could be a method, so you might want
to try:
hth
Phil
- Original Message -
From: "Tim Hicks" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 13, 2000 12:23 PM
Subject: [Zope] Simple dtml-unless problem
> I have the follow