[PHPTAL] true:
Jonathan Vanasco
phptal at 2xlp.com
Sat Nov 11 23:54:50 CET 2006
true: isn't specifically in the TAL spec as a modifier ( its the
default condition ), but most other implementations support 'true:'
and few even require it to work right
i'm using a custom modifier to handle it, but i wanted to suggest
that true: be part of the official release, so compatibility with
other TAL implementations works
also...
most TAL implementations won't throw an error for this:
<div tal:condition="true: Messages">
<div tal:repeat="message Messages" tal:content="message"
class="error"/>
</div>
PHPtal is a little unhappy with Messages not being declared.
Is there any way to get it to not throw an error?
More information about the PHPTAL
mailing list