[EMAIL PROTECTED] wrote:
A little bit of legacy DTML fun here... Zope 2.9.3
On save of a DTML Method, why would this dtml-call fail:
<dtml-let standards="REQUEST.SESSION">
<dtml-call "standards.set('AR-DA-08', AR-DA-08)">
</dtml-let>
With the error:
"Expression (Python) Syntax error: invalid token"
Whereas this works fine:
<dtml-let standards="REQUEST.SESSION">
<dtml-call "standards.set('AR-DA-07', AR-DA-07)">
</dtml-let>
Any insight is appreciated.
hpinson,
Maybe you can get away with something like _['AR-DA-07'] or maybe
_.getitem('AR_DA-07')?
David
_______________________________________________
Zope maillist - [email protected]
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )