On Feb 1, 2006, at 3:17 AM, Frank Burkhardt wrote:

On Wed, Feb 01, 2006 at 09:04:36AM +0100, Frank Burkhardt wrote:


<div tal:attributes="class python: 'foo' + test(condition == True,' bar','')" />

Is this possible?

Impressing simple solution :-) .

FWIW the classic Zope 3 solution is to say "Don't do that in the template! Do it in the view class!". I'll let others add vigor, if they wish. I just wanted you to know the "purist" answer in case you cared. ;-)

Zope3-users mailing list

Reply via email to