--- Christopher Schultz wrote:
> Did you actually try this? I would be surprised it
> it worked.
I'm pretty sure iterating over maps works; I don't see
anything weird about it. It's just minor syntactic
sugar around normal map iteration.
d.
__
Do
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
meeboo wrote:
> Just read from the WW in action book -
>
> "One of the nicest features about the iterator tag is that it can iterate
> over just about any data type that has a concept of iteration. When
> iterating over a Map, it iterates over
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Musachy,
Musachy Barroso wrote:
> The value attribute for the iterator tag can be either a Collection or an
> Interator.
Uh... a Map is neither a Collection nor an Iterator.
> If it is a map, then each entry is going to be a
> Map.Entryobject, with
I will use "El Zorro" next time ;)
On 4/23/07, Dave Newton <[EMAIL PROTECTED]> wrote:
--- Musachy Barroso <[EMAIL PROTECTED]> wrote:
> name-John Galt
Who is John Galt?
(That's the third time I've gotten to say that,
legitimately, in the last two weeks!!! Must be a
resurgence in reading Rand l
--- Musachy Barroso <[EMAIL PROTECTED]> wrote:
> name-John Galt
Who is John Galt?
(That's the third time I've gotten to say that,
legitimately, in the last two weeks!!! Must be a
resurgence in reading Rand lately or something.)
d.
__
Do You Yahoo
Just read from the WW in action book -
"One of the nicest features about the iterator tag is that it can iterate
over just about any data type that has a concept of iteration. When
iterating over a Map, it iterates over the Set returned by Map.entrySet(),
which is a set of Map.Entry
objects, whi
The value attribute for the iterator tag can be either a Collection or an
Interator. If it is a map, then each entry is going to be a
Map.Entryobject, with a key and a value.
-
should print:
name-John Galt
musachy
On 4/23/07, Felipe Rodrigues <[EMAIL PROTECTED]> wrote:
I'm not so sure
I'm not so sure if you can iterate over a Map. Even in Plain Old Java Code
you can't do that.
A good solution is create a keySet or a list from Map's keys and iterate
over that, using each object to get the Map values.
Good look,
Felipe
meeboo wrote:
>
> Hey all
>
> How do I iterate throu
8 matches
Mail list logo