struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Hill" <>
Subject Using commons-collections lazylist for nested actionforms
Date Mon, 01 Mar 2004 09:36:41 GMT
Im about to have a go using the lazylist stuff in commons-collections 2.1 to
implement some nested actionforms stuff (previously Ive always been
initialising the lists the hard way in my reset method!).

Anyhow , one thing that struck me from reading the description was the bit

Object obj = lazy.get(3);
After the above code is executed, obj will contain a new Date instance.
Furthermore, that Date instance is the fourth element in the list. The
first, second, and third element are all set to null.
</snip> the elements before the requested one are initialised to null. Does
this mean that Im going to encounter problems if the browser decides to
submit my parameters in the wrong order for example:


My html will have the items in the correct order - but does that necessarily
mean the browser has to submit in that order - and if it doesnt will my use
of the lazylist stuff be broken?

(And I do already know that some broswers submit fields in different orders
if you happen to have been messing round with that html on the clientside
using javascript to modify the dom synamically though I wont be doing that

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message