[Zope] TALES expression

2008-07-16 Thread Garito
Hi! Please consider this TALES expression: If I try this other: the result is None Then the first one will render the alternate expression isn't it? Then with it renders ? Thanks! -- Mis Cosas http://blogs.sistes.net/Garito Zope Smart Manager http://blogs.sistes.net/Garito/670 ___

Re: [Zope] TALES expression

2008-07-16 Thread Martijn Jacobs
Hi! Please consider this TALES expression: If I try this other: the result is None Then the first one will render the alternate expression isn't it? Then with it renders ? Thanks! I don't understand what you are asking. Could you describe your question more clear please. Martijn

Re: [Zope] TALES expression

2008-07-16 Thread Garito
If this assuption is correct why the result is ? 2008/7/16 Martijn Jacobs <[EMAIL PROTECTED]>: > That assumption is correct > > I mean some TALES expression as here/getDataInici | string: nosta will > evaluate here/getDataInici and if this expression returns '', 0 or None the > tal interpreter

Re: [Zope] TALES expression

2008-07-16 Thread Tino Wildenhain
Garito wrote: Hi! Please consider this TALES expression: If I try this other: the result is None Then the first one will render the alternate expression isn't it? Then with it renders ? Сто? ;-) You should check the tales documentation. the pipe symbol | means a logical "or", in effec

Re: [Zope] TALES expression

2008-07-16 Thread Fred Drake
On Wed, Jul 16, 2008 at 6:34 AM, Tino Wildenhain <[EMAIL PROTECTED]> wrote: > You should check the tales documentation. the pipe symbol | > means a logical "or", in effect if the left expression resolves > to "non existent", None, empty object,... (generally python False) > the right part of it is

Re: [Zope] TALES expression

2008-07-16 Thread Tino Wildenhain
Fred Drake wrote: On Wed, Jul 16, 2008 at 6:34 AM, Tino Wildenhain <[EMAIL PROTECTED]> wrote: You should check the tales documentation. the pipe symbol | means a logical "or", in effect if the left expression resolves to "non existent", None, empty object,... (generally python False) the right p