[ZPT] CVS: Zope/lib/python/Products/PageTemplates/help - tal-condition.stx:1.5

Amos Latteier amos@zope.com
Thu, 15 Nov 2001 13:22:16 -0500


Update of /cvs-repository/Zope/lib/python/Products/PageTemplates/help
In directory cvs.zope.org:/tmp/cvs-serv15280/help

Modified Files:
	tal-condition.stx 
Log Message:
Fixed examples in tal:condition help.


=== Zope/lib/python/Products/PageTemplates/help/tal-condition.stx 1.4 => 1.5 ===
   Examples
 
-    Test for variable before inserting it::
+    Test a variable before inserting it (the first example tests for
+    existence and truth, while the second only tests for existence)::
 
-      <p tal:condition="request/message"
+      <p tal:condition="request/message | nothing"
+	 tal:content="request/message">message goes here</p>
+
+      <p tal:condition="exists:request/message"
 	 tal:content="request/message">message goes here</p>
 
     Test for alternate conditions::