Re: target.addComponent and impact

2011-07-14 Thread Andrea Del Bene
Hi, If you have an ajax event and then you call target.addComponent on another component or collection of other components. What do you mean with another component? You should be able to add any component you want, except AbstractRepeater subclasses (ListView, RepeatingView, ecc...). These

Re: target.addComponent and impact

2011-07-14 Thread vineet semwal
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 adelb...@ciseonweb.it wrote: Hi, If you have an ajax event and then you call target.addComponent on

Re: target.addComponent and impact

2011-07-14 Thread Andrea Del Bene
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 Beneadelb...@ciseonweb.it wrote:

RE: target.addComponent and impact

2011-07-14 Thread Brown, Berlin [GCG-PFS]
, 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:adelb...@ciseonweb.it] Sent: Thursday, July 14, 2011 11:55 AM To: users@wicket.apache.org Subject: Re: target.addComponent

Re: target.addComponent and impact

2011-07-14 Thread Martin Grigorov
Bene [mailto:adelb...@ciseonweb.it] Sent: Thursday, July 14, 2011 11:55 AM To: users@wicket.apache.org 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

RE: target.addComponent and impact

2011-07-14 Thread Brown, Berlin [GCG-PFS]
' Subject: RE: target.addComponent and impact 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

Re: target.addComponent and impact

2011-07-14 Thread Martin Grigorov
updated or not? -Original Message- From: Brown, Berlin [GCG-PFS] Sent: Thursday, July 14, 2011 12:06 PM To: 'users@wicket.apache.org' Subject: RE: target.addComponent and impact Let's say that I have a component in the hashmap that needs to get updated and let's that I call