Hello ,
i am facing the following problem.
i have the below code in xhtml page:
<rich:extendedDataTable id="browseDMDataGrid"
tableState="#{A.tableState}"
binding="#{A.dataGridComponent}"
width="100%">
<h:inputHidden id="browseDMGrid" value="#{A}"/>
</rich:extendedDataTable>
the getter of the dataGridComponent returns HtmlExtendedDataTable.
it works as supposed on page load.
put when i make ny changes in the dataGridComponent in java code these changes are not reflected in the xhtml page because the getDataGridComponent( ) method is called only on page load.
The dataGridComponent seems to be cached.
how can i fix this problem ?
the getting in component binding should always return null. Then the setter should be called (if the getter returned null). The Scope of your bean / component should noch exceed requestscope.
Use "findComponent" instead of component binding.