[Checkins] SVN:	Sandbox/malthe/chameleon.zpt/src/chameleon/zpt/template.txt	Demonstrate that variable defines are not enabled for METAL	tags; this is a bug.
    Malthe Borch 
    mborch at gmail.com
       
    Sun Nov 16 06:38:42 EST 2008
    
    
  
Log message for revision 93005:
  Demonstrate that variable defines are not enabled for METAL tags; this is a bug.
Changed:
  U   Sandbox/malthe/chameleon.zpt/src/chameleon/zpt/template.txt
-=-
Modified: Sandbox/malthe/chameleon.zpt/src/chameleon/zpt/template.txt
===================================================================
--- Sandbox/malthe/chameleon.zpt/src/chameleon/zpt/template.txt	2008-11-16 11:37:57 UTC (rev 93004)
+++ Sandbox/malthe/chameleon.zpt/src/chameleon/zpt/template.txt	2008-11-16 11:38:42 UTC (rev 93005)
@@ -42,12 +42,12 @@
   ...       xmlns:tal="http://xml.zope.org/namespaces/tal"
   ...       xmlns:metal="http://xml.zope.org/namespaces/metal"
   ...       metal:define-macro="master">
-  ...     <tal:defines define="foo 'bar'">
+  ...     <metal:block tal:define="foo 'bar'">
   ...       Who are you, ${foo}?
   ...       <div metal:define-slot="content">
   ...          I will be replaced
   ...       </div>
-  ...     </tal:defines>
+  ...     </metal:block>
   ... </html>""")
 
   >>> content = PageTemplate("""\
    
    
More information about the Checkins
mailing list