from the documentation:

>5.2.7
>A better way to achieve the same result would be to ask your PHP coder to 
>create a custom modifier for your needs (see PHP integration / custom 
>modifiers) which would be used as follows: 
><tr tal:repeat="ranking playerRankings"
>   tal:attributes="class css-odd:repeat/ranking/odd">
>  …
></tr>

> The modifier would return "odd" if repeat/ranking/odd is true, false 
>otherwise.

The modifier should return NULL for omitting the class attribute, shouldn't 
it?

--> The modifier would return "odd" if repeat/ranking/odd is true, NULL 
otherwise.

regards
xel

-- 
Wir verwenden ausschließlich blaue Elektronen aus biologischem Anbau.

_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to