I think that in order to make it work you should send an event to listener like this when chartPanelGrid has changed:
listener.onEvent(new EventObject(this));
I have one table for which on row select I call one method as below :
<rich:extendedDataTable height="#{myhome.getTableHeight()}"
value="#{myhome.monitorlist}" var="mVar" sortMode="single"
rowClasses="row1, row2"
noDataLabel="#{myhome.nodatalblmonitors}"
selection="#{myhome.selectedRow}"
rendered="#{myhome.rendermonitortable}" id="monitortableid"
..............................>
<rich:column ..... />
<a:support reRender="chg,mhpush"
action="#{myhome.getMonitorObj}" event="onselectionchange" />
</rich:extendedDataTable>
public void getMonitorObj() {
...........
getAgentCharts();
..........
}
private void getAgentCharts()
throws Exception {
.......................
chartPanelGrid.getChildren().clear();
chartPanelGrid.getChildren().addAll(
ChartUiUtils.createChartTabs(agentChartList );
setMhPushEnabled(true);
mhChartListener.onEvent(new EventObject(this));
}
After this the getAgentCharts fn will be getting called on some other back end event and updating the panelGrid.
But the panleGrid is not being rerendered properly on push.
Thanks,
Deeps.
Looks like that everything is OK in your code so I don't have any other ideas. I guess that possibly RF developers could answer you.
P.S. Could you wrap your panelGrid into another tag and try to reRender it instead of the panelGrid?
Even that also I have tried.Wraping inside an outputpanel.
Shall I get some suggestions from RF developers.
Thanks,
Deeps.