[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Advanced Page Templates

nobody@nowhere.com nobody@nowhere.com
Wed, 28 Aug 2002 07:33:59 -0400

A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvZPT.stx#3-38


      Here's an example tag that includes several TAL 

        <p tal:define="x /root/a/long/path/x | nothing"
           tal:attributes="class x/class">Ex Text</p>

        % Anonymous User - Aug. 28, 2002 7:33 am:
         is it possible for two page templates to interact.i.e can i get the content type of a file in another tmplate
         or python script by just passing the file id from the source template