[Zope] DTML Call Fails
David H
bluepaul at earthlink.net
Tue Oct 24 14:06:37 EDT 2006
hpinson at indepthl.com 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
More information about the Zope
mailing list