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

[email protected]
Newsgroups gmane.comp.web.zope.zdp
Message-ID <[email protected]>
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.

        % Anonymous User - Jan. 16, 2004 8:41 am:
         Performing attribution after replacement wouldn't make any sense; tal:replace completely replaces the
         element, where would the attribute changes be made then?

_______________________________________________
ZDP maillist  -  [email protected]
http://mail.zope.org/mailman/listinfo/zdp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.