/**
- * Controller to demonstrate the behavior of the checkbox
+ * Controller to demonstrate the behavior of checkboxes
* @author Kai Moritz
*/
@Controller
@RequestMapping("/")
public String display(@ModelAttribute Form form)
{
- log.info("option={}", form.option);
+ log.info("option={}, inner={}", form.option, form.inner.option);
return "form";
}
}