Re: [Zope] Simple dtml-unless problem

2000-09-13 Thread Oleg Broytmann
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

Re: [Zope] Simple dtml-unless problem

2000-09-13 Thread Tim Hicks
- 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

Re: [Zope] Simple dtml-unless problem

2000-09-13 Thread Oleg Broytmann
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.

Re: [Zope] Simple dtml-unless problem

2000-09-13 Thread Phil Harris
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