Re: [Zope] Return a variable number of objects / ZGDChart
30 Apr
2001
30 Apr
'01
4:58 p.m.
belen@netcom.no writes:
I am trying to return this variable number of lists.
<dtml-return "(x, y1, y2, y3,...., yn)" > ... The matter is that n is not fixed ... You build the list incrementally, like this:
<dtml-call "REQUEST.set('myList',[])"> .... <dtml-call "myList.append(x)"> .... <dtml-call "myList.append(y1)"> .... and so on, until you are satisfied with the list. Then <dtml-return myList> Dieter
9106
Age (days ago)
9106
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dieter Maurer