[Zope] Basic Template question : 'truthiness'

2006-06-11 Thread Mark Gibson
I thought I knew how this stuff worked, but this has gotten me banging my head against a wall. I'm trying to evaluate a condition expression, and I'm not getting what I expect when using path, and I get a different result when using python. The following expressions results=span

Re: [Zope] Basic Template question : 'truthiness'

2006-06-11 Thread Andreas Jung
--On 11. Juni 2006 13:35:40 -0600 Mark Gibson [EMAIL PROTECTED] wrote: -- This doesn't evaluate to true -- div tal:condition=results | request/dosearch | request/querytype | nothingTHIS DOESN'T SHOW UP/div As you can see, the second expression doesn't evaluate to True. Can someone

Re: [Zope] Basic Template question : 'truthiness'

2006-06-11 Thread David H
Mark Gibson wrote: I thought I knew how this stuff worked, but this has gotten me banging my head against a wall. I'm trying to evaluate a condition expression, and I'm not getting what I expect when using path, and I get a different result when using python. The following expressions

Re: [Zope] Basic Template question : 'truthiness'

2006-06-11 Thread David H
David H wrote: Mark Gibson wrote: I thought I knew how this stuff worked, but this has gotten me banging my head against a wall. I'm trying to evaluate a condition expression, and I'm not getting what I expect when using path, and I get a different result when using python. The following