You added the component so it has to be re-rendered.

On Thu, Jul 14, 2011 at 7:18 PM, Brown, Berlin [GCG-PFS]
<[email protected]> wrote:
> One more question.
>
> Is it is a hint to update this particular component?  Or will wicket
> fully rerender the component the user whether it needs to get updated or
> not?
>
>
> -----Original Message-----
> From: Brown, Berlin [GCG-PFS]
> Sent: Thursday, July 14, 2011 12:06 PM
> To: '[email protected]'
> 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);
> 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]

Reply via email to