Use the SHtml.checkbox to generate your checkboxes: From the ExploringLift book:
The
checkbox method generates a checkbox form element, taking an initial
Boolean value as well as a function ( Boolean) ⇒ Any that is called
when the checkbox is submitted. If you’ve done a lot of HTML form
processing you might wonder how this actually occurs, since an
unchecked checkbox is not actually submitted as part of a form. Lift
works around this by adding a hidden form element for each checkbox
with the same element name, but with a false value, to ensure that the
callback function is always called.
--
John Goodsen RADSoft / Better Software Faster
jgoo...@radsoft.com Lean/Agile/XP/Scrum Coaching and Training
http://www.radsoft.com Ruby/Rails, Scala/Lift and Java Solutions
--
John Goodsen RADSoft / Better Software Faster
jgoo...@radsoft.com Lean/Agile/XP/Scrum Coaching and Training
http://www.radsoft.com Ruby on Rails and Java Solutions