30 Oct
2001
30 Oct
'01
10:16 p.m.
Ben Ocean writes:
I have a dtml-var called *select-blueline* It reads thus: <dtml-var expr="_.whrandom.choice(images.bluelines.objectValues(['DTML Method']))"> I need to be able to assign the value generated from this method to ANOTHER method that I can call. In other words... <dtml-var x> = <dtml-var select-blueline> Then later call <dtml-var x> How do I do this? You either use "dtml-let" or '<dtml-call "REQUEST.set('x',selectBlueLine)">'.
Dieter PS: It seems to me that background reading would not be bad... <http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html>