struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wendy Cameron" <>
Subject Search Results Forms
Date Mon, 02 Dec 2002 02:16:13 GMT
Has anyone come up with a good way to do checkbox form process with Scrolling search results?

Basically you have a list of search results each with a check box next to it.  You also have
scrolling pages, so you have Page 1 | 2 | 3 links etc.

If you use the checkbox with the same name, this can be easily picked up in your form bean
etc, however if the user scrolls back and forth through the result checking and unchecking
items, this could lead to problems with elements having been checked add, but later they were
unchecked etc, and you wouldnt know.

I think you could possible work it by numbering the checkbox name.  However you lose your
ability to automatically populate a form bean.
Where the ideal situation is an array 0..n-1 where n is the length, with a set of values,
checked if the checkbox was checked and null if it was not or an array of booleans.

Has anyone found a nice way to solve this little picadello

Regards Wendy

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

View raw message