Re: Ted Husted: html:optionsCollection & Map

2003-09-18 Thread Joe Germuska
From looking at the source, when given a java.util.Map, OptionsCollectionTag iterates through the entrySet, not the keySet or the values collection. Therefore, when the "label" and "value" of each bean is dereferenced, the properties must be relative to a Map.Entry bean. It looks as if you w

Ted Husted: html:optionsCollection & Map

2003-09-18 Thread Lars Bergström
Dear Ted, I am trying to get my html:optionsCollection to work with a TreeMap. I don't know if this is possible but on the Struts API page for the class OptionsCollectionTag I read the following: "The collection may be an array of objects, a Collection, an Enumeration, an Iterator, or a Map." ( h