30 Oct
2001
30 Oct
'01
1:19 p.m.
Ben Ocean wrote:
Hi; 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?
Ben, you really should be using a Python Script for this kind of logic. Why on earth are you doing it in DTML? cheers, Chris