[PHPTAL] tal:content with php:
Jonathan Vanasco
phptal at 2xlp.com
Thu May 3 19:40:01 CEST 2007
On May 3, 2007, at 12:56 PM, Joshua Paine wrote:
> Jonathan Vanasco wrote:
>>> <span tal:omit-tag="" tal:condition="exists: productdetail/
>>> productdiscounted">
>> the tal:omit-tag is worthless. it needs to be "string:1" or
>> something that will evaluate to true. that will never pass.
>
> Incorrect. At least in phptal, an empty attribute for omit-tag is
> as good as true. (Which is good, b/c typing string:1 is a pita.)
really?
thats interesting...
that behavior seems to be part of the ZPT, spec -- however most other
implemenations don't support it.
ugh. looks like i have some python and perl patching to do.
More information about the PHPTAL
mailing list