just once. the parent will be rendered On Thu, Jul 14, 2011 at 7:06 PM, Brown, Berlin [GCG-PFS] <[email protected]> wrote: > Let's say that I have a component in the hashmap that needs to get > updated and let's that I call target.addComponent on some parent > component, in that case will the child get updated twice. > > E.g. > > Target.addComponent(someChildComponent); > Target.addComponent(someParentOfTheChild); > > In this case, will child get "updated" twice or still just once ... > Because the parent will take care of having the child updated? > -----Original Message----- > From: Andrea Del Bene [mailto:[email protected]] > Sent: Thursday, July 14, 2011 11:55 AM > To: [email protected] > Subject: Re: target.addComponent and impact > > Right, I've looked at code and it uses an hashmap >> in last case i think rendering will be once because the components are > >> kept in map with markupid of component as key in ajaxrequesttarget. >> >> On Thu, Jul 14, 2011 at 9:11 PM, Andrea Del > Bene<[email protected]> wrote: >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
-- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
