If you want to avoid http session you could maintain a hidden text field on the page which also gets posted alongside the checkboxes. The text field contains a comma separated list of the checkbox ids (or maybe just a count if index based naming convention)
On 23 Jan 2017 10:07 a.m., "Nathan Quirynen" <[email protected]> wrote: > Hi, > > What is the best practice for showing a (dynamic) list of objects as > checkboxes in a form and posting the selection. I have found some examples, > but they all have the need of persisting data in the http session, which > I'd like to avoid as much as possible. Or is this the only way to achieve > this? > > An example I found: http://lombok.demon.co.uk/tape > stry5Demo/test/components/checkboxgroupdemo > > Nathan > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
