Help

Controls

PermLinkWikiLink
Switch Workspace

Built with Seam

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.

Forum: Seam Users Forum ListTopic List
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.

 
Cheers,

Rob Hills
Waikiki, Western Australia
1 Reply:
30. May 2008, 07:18 America/New_York | Link

Hi Rob,

I'm pretty sure you'll have to do this manually, I've never seen anything in JSF or Seam for at least one.

cheers, Daniel.

 

i wanna be a contextual component