I have two Portlets: the first contains: datatable A and the second: datatable B. The two portlets are shown in the same page. I want to refresh the datatable A after I click on a command button in the datatable B.
The method called by the command button contains this code:
OnDemandRenderer onDemandRenderer = getRenderManager().getOnDemandRenderer("RENDER_GROUP");
onDemandRenderer.requestRender();
But it doesn't work. Can anyone help me please? Some hints? Thanks in advance for any help!!