You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-user@incubator.apache.org by "Edmond B. Mulemangabo" <ed...@uclouvain.be> on 2007/04/25 08:30:24 UTC

Re: how do I refresh a table component after selecting and deletingone or more rows ?

Luka Surija wrote:
> If you want to use PPR you can add on actionListener method following
> lines to resolve the problem:
> 
> public void myAction(ActionEvent event){
> 
>    // action code
> 
>    RequestContext requestContext = RequestContext.getCurrentInstance();
>   
> requestContext.addPartialTarget(event.getComponent().findComponent("trTableId"));
> 
> }
> 
> and this action will refresh only tr:table with id="trTableId".

I appreciate your help; thanks.

--
Edmond/