[ZPT] CVS: Packages/Products/PageTemplates (Products/DC/PageTemplates) - CheckPathAlt.html:1.2

evan@serenade.digicool.com evan@serenade.digicool.com
Mon, 21 May 2001 12:54:18 -0400


Update of /cvs-repository/Packages/Products/PageTemplates/tests/input
In directory serenade:/home/evan/Zope/pt/lib/python/Products/PageTemplates/tests/input

Modified Files:
	CheckPathAlt.html 
Log Message:
Eliminate path modifiers, fix up 'exists:', and make tests conform.



--- Updated File CheckPathAlt.html in package Packages/Products/PageTemplates --
--- CheckPathAlt.html	2001/05/11 23:44:58	1.1
+++ CheckPathAlt.html	2001/05/21 16:54:18	1.2
@@ -3,7 +3,7 @@
    <div tal:define="x string:X;nil string:">
    <p tal:content="x">1</p>
    <p tal:content="x | nil">2</p>
-   <p tal:content="(if) nil | x">3</p>
+   <p tal:content="python:nil or x">3</p>
    <p tal:content="y/z | x">4</p>
    <p tal:content="y/z | x | nil">5</p>
 
@@ -11,7 +11,7 @@
    <p tal:attributes="name y/z | nil">Z</p>
    <p tal:attributes="name y/z | nothing">Z</p>
 
-   <p tal:on-error="error/value" tal:content="a/b | (if) nil | c/d">Z</p>
+   <p tal:on-error="python:str(error.value)" tal:content="a/b | c/d">Z</p>
    </div>
 </body>
 </html>