[Zope] tal:condition AND

Mark Gibson mark@dimensional.com
Sat, 19 Oct 2002 15:24:28 -0600


I can do:
  tal:condition="exists:date_edited"
and I can do:
  tal:condition="hasThePermision"
I can even do:
  tal:condition="date_edited | hasThePermission"

but how do I do
  tal:condition="date_edited AND hasThePermission"

Given that date_edited may not exist in the namespace, using python has it's own 
unique problems.  The following errors if date_edited isn't found.

  tal:condition="python:hasThePermission and date_edited"

Is there an easy way to do this test in one statement?

Mark