I want to make active h:selectOneMenu when h:selectBooleanCheckbox is selected.
<h:selectBooleanCheckbox value="#{user.rememberMe}" /> I agree
<h:selectOneMenu value="#{user.favCoffee1}">
<f:selectItem itemValue="Cream Latte" itemLabel="Coffee3 - Cream Latte" />
<f:selectItem itemValue="Extreme Mocha" itemLabel="Coffee3 - Extreme Mocha" />
<f:selectItem itemValue="Buena Vista" itemLabel="Coffee3 - Buena Vista" />
</h:selectOneMenu>
In my cases I would like to let the user to select value from h:selectOneMenu only when he has selected that here accepts web site terms.