Re: Dynamicly sized Form problem: cant keep order

2005-10-14 Thread Frank W. Zammetti
FYI, as of JDK 1.4.2 (maybe before, but at least that version at the latest) you have LinkedHashMap and LinkedHashSet as well. LinkedHashMap would fit the bill as well I think, without having to create a dependency on Commons Collections. Frank Wendy Smoak wrote: From: "Oleg" <[EMAIL PROTEC

Re: Dynamicly sized Form problem: cant keep order

2005-10-14 Thread Wendy Smoak
From: "Oleg" <[EMAIL PROTECTED]> I have been hours at this, going crazy. I am setting up Dynamicly sized form. http://java.sun.com/j2se/1.4.2/docs/api/java/util/HashMap.html " This class makes no guarantees as to the order of the map; in particular, it does not guarantee that t

Re: Dynamicly sized Form problem: cant keep order

2005-10-14 Thread Oleg
Ok, this is embarrassing, of course HashMap doesnt guarantee the order, TreeMap did the trick, sorry :) Oleg On 10/14/05, Oleg <[EMAIL PROTECTED]> wrote: > I have been hours at this, going crazy. I am setting up Dynamicly sized form. > > struts-config.xml > --

Dynamicly sized Form problem: cant keep order

2005-10-14 Thread Oleg
I have been hours at this, going crazy. I am setting up Dynamicly sized form. struts-config.xml - My Action, gets the map like so: DynaValidatorForm df = (DynaValidatorForm) form; HashMap hm = (HashMap)df.get("fields"); Than I try to populat