BackTalk to Document The Zope Book (2.6 Edition)/Advanced Page Templates

[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/AdvZPT.stx#3-8

---------------

      You've already met the 'tal:attributes' statement. You can use
      it to dynamically replace tag attributes, for example, the
      'href' attribute on an 'a' element. You can replace more than
      one attribute on a tag by separating attributes with
      semicolons::

        <a href="link"
           tal:attributes="href here/getLink;
                           class here/getClass">link</a>

        % misza - Jan. 12, 2004 6:27 am:
         In this code for tag <a> will be generated attribute class.
         After parse it will look sth like:
         <a href="someURL" class="someCssClass">link</a>

_______________________________________________
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.