[ZDP] BackTalk to Document The Zope Book (2.6 Edition)/Appendix C: Zope Page Templates Reference

webmaster at zope.org webmaster at zope.org
Fri Dec 19 12:58:22 EST 2003

A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/AppendixC.stx#3-39


      If the expression associated with an attribute assignment evaluates
      to *nothing*, then that attribute is deleted from the statement
      element.  If the expression evaluates to *default*, then that
      attribute is left unchanged.  Each attribute assignment is
      independent, so attributes may be assigned in the same statement in
      which some attributes are deleted and others are left alone.

        % Anonymous User - Dec. 19, 2003 12:58 pm:
         This seems to contradict the Order of Operations, above, where it says that attribution takes place after
         replacement. That way seems better than ignoring the attribution altogether.

More information about the ZDP mailing list