I'm beginner in jsf primefaces
and I'm using checkboxmenu
option. How can I check if all the items are checked (All items are mandatory) ?
Asked
Active
Viewed 32 times
0

mak_doni
- 565
- 1
- 10
- 29
-
In a validator... Not something default built into this component (very uncommon request, effectively the first one I heard... Sort of like this: https://stackoverflow.com/questions/6827675/how-to-validate-the-maximum-amount-of-checked-values-of-a-selectmanycheckbox-bas (it does not mattert the component type is a little different. Solution is very comparable) – Kukeltje Sep 02 '20 at 15:41
-
1Does this answer your question? [How to validate the maximum amount of checked values of a selectManyCheckbox based on the current selection of a selectOneMenu?](https://stackoverflow.com/questions/6827675/how-to-validate-the-maximum-amount-of-checked-values-of-a-selectmanycheckbox-bas) – Kukeltje Sep 02 '20 at 15:42
-
@Kukeltje I should pass all the items – mak_doni Sep 02 '20 at 16:09
-
??? Sorry, I have no clue what you mean by this statement – Kukeltje Sep 02 '20 at 18:32