[Zope] Zope 2.1.0: &dtml=expr "5+5"; doesn't work anymore?
Joe Grace
occam@serv.net
Mon, 13 Dec 1999 23:03:49 -0800
Hi,
I just upgraded from Zope 2.0.0 (stable version I believe) to Zope 2.1.0
and my site broke where I use
&dtml-expr="";
syntax. I looked in the release notes for any changes to DTML syntax
but noticed none which seem to cause my problem. (However, this same
thing happened to me upgrading to 2.0.0 and the docs escaped my notice
then so...) Basically, I'm using
<... &dtml-expr="Python calculations go here"; ...>
e.g.,
<TR BGCOLOR="#&dtml-expr="_.hex( 0xF8 -
depth)[2:]";&dtml-expr="_.hex(
0xF8 - depth)[2:]";FF">
in several places. I noticed that the entity syntax has been upgraded
with qualifiers. I've also tried a whole bunch of syntactic variations
to get my &dtml-expr=""s to work, all to no avail. Finally, I've
practiced newbie Zope Zen and tried to decipher DT_Var.py (or
thereabouts) to see if I could figure out the fate of &dtml-expr.
Anyway...
Has &dtml-expr="" been deprecated, i.e., removed from Zope, or have I
just failed to find the new secret incantation which gets me an
expression using the entity syntax?
Needless to say, any help appreciated. I don't mind changing my code,
but I do need to know the new Zope 2.1.0 Zen of &dtml-expr="";).
Thanks :-),
= Joe =