a query please, I have two selectOneMenu of primefaces in a view, what I need to do is that the user if I do not select either of them select at least one.
I set required = true but this makes me have to select both selectOneMenu and the idea is that if the user wants he can only select one. There should be an if or something to condition them but I do not know how to do it
Thanks in advance