[Zope] Re: help with omit-tag and object existence

Evan Simpson evan@4-am.com
Wed, 11 Jun 2003 14:46:01 -0500


mclinden@informed.net wrote:
> tal:omit-tag="not:exists:string:${item/id}/bio_text"

Yikes! Does Zope actually accept this without an error? (Tries it) Ah, 
so it gets treated as a degenerate path alternation.  The string always 
exists, so the entire expression is always false.

Have you tried this?

tal:omit-tag="not:exists:item/bio_text"

Cheers,

Evan @ 4-am