[Zope] R: [Zope] dtml-in and maps...

Curtis Maloney curtis@umd.com.au
Thu, 13 Jul 2000 11:38:33 +1000


On Wed, 12 Jul 2000, Marcel Preda wrote:
> So, you have to do something like this:
> <HTML>
> <BODY>
> <dtml-call
> "REQUEST.set('superList',[['string1',0,{'name1':'value1'}],['string2',1,{'n
>ame2'
>
> :'value2'}]])">
>
> <dtml-in superList>
> <dtml-let temp_sequence_item="_['sequence-item']">
> <dtml-in "temp_sequence_item[2].keys()">
> <dtml-var sequence-item>:<dtml-var
> "temp_sequence_item[2][_['sequence-item']]"> </dtml-in>
> </dtml-let>
> <BR>
> </dtml-in>
> </BODY>
> </HTML>
>

Ok... i've fiddled around a bit, and It's working.  Thanks. (o8

Have a better one,
	Curtis.