[Zope] dtml-let + 'expr=' possible?

Lee lee.reilly@ntlworld.com
Wed, 24 Jan 2001 06:17:29 +0000


Hi,

I have one quick question about the 'let' tag;

<dtml-var expr="classcode_to_table(classcode)"> gives me the value
'class52225'. Is there anyway I can use the 'let' tag to push this onto
the namespace stack? I was thinking something *like*;

<dtml-let table expr="classcode_to_table(classcode)">

The python method, classcode_to_table, takes in a string, alters it
and returns it. This is going to be an argument for some ZSQL methods
and some Python methods.
	    
Thanks,

Lee