Bas <kooy...@...> writes: > > If I create the following construct in a template PHPTal will throw an error, > saying that the variable item cannot be found: > > <tr tal:repeat="item itemList" tal:condition="not:item/someBooleanVar"> > > The following, however, works just fine: > > <tr tal:repeat="item itemList" tal:attributes="item sf/someBooleanVar"> >
Sorry, the second line of code should read: <tr tal:repeat="item itemList" tal:attributes="anyAttr item/someBooleanVar"> _______________________________________________ PHPTAL mailing list PHPTAL@lists.motion-twin.com http://lists.motion-twin.com/mailman/listinfo/phptal