how can I make a page reload (and the model values updated) by checking/unchecking a selectBooleanCheckbox?
@Ellie: I tried both <a4j:ajax event="click" action="doiListView"/>
and <f:ajax event="click" action="doiListView"/>
, but nothing happens. The (piece of) code is this:
<td style="font-size: 5pt; border: 0; min-width:60px">
<rich:calendar id="creationToDate" value="#{listModel.creationDate.rangeEnd}"
datePattern="yyyy-MM-dd" enableManualInput="true"
rendered="#{listModel.creationDate.range}"
valueChangeListener="#{listController.filterFieldChanged}">
</rich:calendar>
</td>
<td rowspan="2">
<h:selectBooleanCheckbox value="#{listModel.creationDate.range}">
<a4j:ajax event="click" action="doiListView"/>
</h:selectBooleanCheckbox>
</td>
The datepicker should become visible if the checkbox is selected. But with your hint above, nothing happens... If I add onclick="window.location.href=window.location.href" in the selectBooleanCheckbox tag, then it works, but as I said I would like to use RF components if possible...