You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.
| Online: | 15 Members of 9400 |
| Forum: Seam Users |
30. May 2008, 04:41 America/New_York | Link |
Hi All,
I'm developing a form that contains a group of related checkboxes. The user must select at least one checkbox from this group.
I've been hunting around for a seam/jsf way of doing the validation but haven't found anything. Does Seam or JSF provide a way to handle this scenario, or do I just do it manually
with javascript and/or validation code in the bean? Note the requirement is to select one or more, and each checkbox has an associated attribute on the bean, so radio buttons don't provide the required functionality.
1 Reply: | |||
|---|---|---|---|
Hi Rob,
I'm pretty sure you'll have to do this manually, I've never seen anything in JSF or Seam for cheers, Daniel. i wanna be a contextual component |