Re: target.addComponent and impact

2011-07-14 Thread Martin Grigorov
ted 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

RE: target.addComponent and impact

2011-07-14 Thread Brown, Berlin [GCG-PFS]
e.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 target.addComponent on some parent component, in that case will the child get updated twice. E.g. Target.addComponen

Re: target.addComponent and impact

2011-07-14 Thread Martin Grigorov
> -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 and impact > > Right, I've looked at code and it uses an hashmap >> in last case i t

RE: target.addComponent and impact

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

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 Bene wrote: --

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 wrote: > Hi, >> >> If you have an ajax event and then you call target.addComponent on >> another component or

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 co

target.addComponent and impact

2011-07-14 Thread Brown, Berlin [GCG-PFS]
If you have an ajax event and then you call target.addComponent on another component or collection of other components. Are there issues with calling target.addComponent on components that aren't visible or maybe detached from the page? Or calling target.addComponent more than once on a particu