I want to have a Refresh Button that refreshes the data area in an extendedDataTable.
The Table has some actions (a4j:support) assigned, for example a row double click.
After the page is loaded the double click action works, everything is displayed and works. After clicking the refresh Button the table inside a a4j:outputPanel is reRendered and receives new data, but the double click action (and other actions) inside the table is broken and seems lost. How to avoid that?
I tried things like to reRender also the a4j:support section or an a4j:region around it but of course that did not work.
Are there other (non-plain-javascript-)ways to achieve the refresh of the extendedDataTable? only the table should be rerendered.
The code looks like (first a commanButton "Refresh" than the outputPanel with the table section)
...
<a4j:form>
<a4j:region>
<a4j:commandButton
reRender="table_group" value="Refresh"> <a4j:commandButton>
</a4j:region>
</a4j:form>
<a4j:outputPanel id="table_group">
<rich:extendedDataTable id="table_user" binding="#{users.table}"
value="#{users.users}" var="it"
selection="#{users.selection}" >
<a4j:support id="a1" event="onRowDblClick" reRender="props"
actionListener="#{users.d}">
</a4j:support>
...
</rich:extendedDataTable>
</a4j:outputPanel>
...
seems to work suddenly, so forget it.