[ZPT] CVS: Packages/Products/PageTemplates (Products/DC/PageTemplates) - CheckPathAlt.html:1.1
evan@serenade.digicool.com
evan@serenade.digicool.com
Fri, 11 May 2001 19:44:59 -0400
Update of /cvs-repository/Packages/Products/PageTemplates/tests/input
In directory serenade:/home/evan/Zope/pt/lib/python/Products/PageTemplates2/tests/input
Added Files:
CheckPathAlt.html
Log Message:
Created PageTemplateFile module and class.
Implemented alternate path '|' operator.
Added 'default' builtin.
Made Expression types available to python expressions as functions.
Changed the way render() calls DTML.
--- Added File CheckPathAlt.html in package Packages/Products/PageTemplates ---
<html>
<body>
<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="y/z | x">4</p>
<p tal:content="y/z | x | nil">5</p>
<p tal:attributes="name nil">Z</p>
<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>
</div>
</body>
</html>