On 9/21/06, Strachan, Paul <[EMAIL PROTECTED]> wrote:

A List is an ordered collection so it doesnt make sense that the order
changes.  Also, depending on which Map implementation you use ordering may
not be guaranteed.


I would basically have the index in case of indexed properties as my key. SO
the question of ordering doest come
publiv void setDate(String key, String value) {
map.put(key,value);
}
This way I would always have the correct values.

I frequently use indexed properties with List and have not experienced this
problem.  You may need to check the generated html source and follow through
the request cycle.

Your method signatures for your setters dont seem appropriate in the
context of managing indexed properties on a list of objects (at least to
me).


Could you please give an example of how you manage lists with indexed
properties, that would really help.

Thanks
--
Puneet

Reply via email to