Hello i have a problem. When i change the value of scheduleFrequency selectOneListbox it causes validation to be fired. I then show/hide the selectManyCheckbox. The show/hide does not happen when there is a validation error. I have a @NotNull annotaion on the scheduleBean.scheduleMetaDataDTO.scheduleFrequency. When i select the null option i need it to hide the selectManyCheckbox even if a validation error is thrown. Is there a way to disable validation for the ajax call only? Below is the section of code
<h:panelGrid columns="2" rendered="#{scheduleBean.scheduleMetaDataDTO.scheduleTypeReccuring}">
<h:selectOneListbox value="#{scheduleBean.scheduleMetaDataDTO.scheduleFrequency}"
size="1" id="scheduleFrequency">
<f:selectItem itemValue="#{null}" itemLabel="Select..." />
<f:selectItems value="#{scheduleBean.scheduleFrequencies}" />
<a4j:ajax event="change" render="dailyCheckboxes" execute="@this"/>
</h:selectOneListbox>
<a4j:outputPanel id="dailyCheckboxes">
<h:selectManyCheckbox value="#{scheduleBean.scheduleMetaDataDTO.selectedDays}"
rendered="#{scheduleBean.showDaysCheckboxes}"
layout="lineDirection">
<f:selectItems value="#{scheduleBean.days}" />
</h:selectManyCheckbox>
</a4j:outputPanel>
</h:panelGrid>