I am creating registration form in JSF and I have field as Active, Inactive where I need to use check boxes and these checkboxes should be SINGLE SELECT ONLY. (Note: I can use radio button and solve the problem, however due to some problem I have to use check boxes).
Please suggest me how to get this done?
Thanks in advance…
I think what you need is
<h:selectBooleanCheckbox>. The value binded to this component can only be either true (Active) or false (Inactive). It will be something like the following: