On 9/21/06, Niall Pemberton <[EMAIL PROTECTED]> wrote:

As you found out there is no way of knowing the order the
browser/client will submit request parameters, so if you want to use
indexed properties in this way you need to "grow" the list to
accomodate the size of the indexed property being set.

So you could do something like the following:

  public void setDate(int index,String value) {
      while (datesList.size() <= index) {
          datesList.add(null);
       }
      datesList.set(index, value);
  }


I  kinda did this before posting as a temp fix. But I though this was like a
too inefficinet solution. But Im glad it isnt all that bad a thing :-).

Thanks a lot.
--
Puneet

Reply via email to