It looks like, for the first time, I am passing an object to a foreach
loop that that is not a Vector, HashMap, or Array.

I instead have a class that essentially wraps a Vector of a certain
type.  It includes a method:

public Iterator iterator() {
   return v.iterator(); // return iterator of the underlying Vector
}

I thought all classes with iterators would work with a #foreach loop
(even though I don't see that in the documentation.  However, I get
the error message:

Mon Oct 18 11:22:49 CDT 2004   [warn] Could not determine type of
iterator in #foreach loop  at [0,0] in template member/info/facstaff.vm

The template output only provides one blank line, even though the
size() method indicates there are 84 members.

Any hints or tips?

Barbara Baughman
X2157

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to