On Wed, 12 Jul 2000, Marcel Preda wrote:
> So, you have to do something like this:
>
>
> "REQUEST.set('superList',[['string1',0,{'name1':'value1'}],['string2',1,{'n
>ame2'
>
> :'value2'}]])">
>
>
>
>
> : "temp_sequence_item[2][_['sequence-item']]">
>
>
>
>
>
>
Ok... i've fiddled aroun
> >
> Because, as you seem to keep missing, i want to iterate over all the items in
> the map, but i won't know what their keys are!
>
> By using with, i can bring the map into the name space... SO WHAT? I still
> don't know what keys were in the map!
>
> Get the idea?
Ya men...
[the `name' is n
- Original Message -
From: Curtis Maloney <[EMAIL PROTECTED]>
> > I suppose that your var is a dictionary
> >
> Well.. this is where things start to get fun. (o8
>
> I have a dirty great array along the lines of :
>
> [ [ 'string', 0, { 'name':'value' } ], [ 'string', 0, { 'name':
On Tue, 11 Jul 2000, Marcel Preda wrote:
> > Greetings,
> >
> > This seems like it should be a simple thing but I can't seem to find
> > how to make dtml-in behave with maps. In particular, empty maps.
> >
> > I've tried mapping, i've tried testing _.len(map.keys()), and various
> > other thi
On Tue, 11 Jul 2000, Marcel Preda wrote:
> looks like the variable that you are using in
> is noat a sequence (list || tuple)
>
> I suppose that your var is a dictionary
>
>
> Insted of :
>
> you have to use:
> as a list
> ||
> as a tuple
Note that this gives you one iteration of the dtm
> Greetings,
>
> This seems like it should be a simple thing but I can't seem to find how
> to make dtml-in behave with maps. In particular, empty maps.
>
> I've tried mapping, i've tried testing _.len(map.keys()), and various other
> things. But it always fails, telling me
> Error Type
Greetings,
This seems like it should be a simple thing but I can't seem to find how
to make dtml-in behave with maps. In particular, empty maps.
I've tried mapping, i've tried testing _.len(map.keys()), and various other
things. But it always fails, telling me
Err