Hi ..
I`m trying to change the data in <rich:datatable> between 'Monthly' ,'Quarterly' and 'Yearly' with the help of
[<h:selectOneMenu id="selectSavingType" value="#{simulationController.simulationModel.savingType}" binding="#{simulationController.selectOneMenu}">
<f:selectItem itemValue="Monthly" itemLabel="#{labelBean.labels['monthly']}" />
<f:selectItem itemValue="Quarterly" itemLabel="#{labelBean.labels['quarterly']}" />
<f:selectItem itemValue="Yearly" itemLabel="#{labelBean.labels['yearly']}" />
<a4j:support event="onchange" reRender="savingDataTable,savingDataScroller"
action="#{simulationController.actionSelectSavingData}" >
</a4j:support>
</h:selectOneMenu>]<rich:datascroller align="center" for="savingDataTable" maxPages="10" tableStyleClass="scrollerTable" id="savingDataScroller" />
<rich:dataTable align="center" width="620" id="savingDataTable" rows="15" columnClasses="savingsCol" rowClasses="table_Row" headerClass="boldFont"
value="#{simulationController.savingTypeData}" var="savingData">