[Zope] Re: DTML vs ZTP

Josef Meile jmeile at hotmail.com
Tue Dec 7 13:18:42 EST 2004


>> .myclass {
>>      background-color: &dtml-mycolor;;
>> }
>>
> 
> 
> 
> I do the same thing with ZPT
> 
> .myclass {
>        background-color: <tal:block tal:replace="mycolor" />;
>   }
Yes, it does the same on this case, but for me the sintax with dtml is
clearer and ZPT only adds uneccessary complexity here. On This case, on
my old products and on ZSqlMethods are the only cases where I use DTML.

Anyway, thanks for the syntax, I hadn't figured it out.

Regards,
Josef


More information about the Zope mailing list