I was wrong as I was using the code :
cb = SimpleCheckBox.wrap(Document.get().getElementById(checkBoxId));
in the loop of the creation of the n instances.

So it was not the same SimpleCheckBox which was shared.


If I create the SimpleCheckBox only one time, it works perfectly


Thanks for your help

Le mercredi 8 juin 2016 10:56:03 UTC+2, Vassilis Virvilis a écrit :
>
> Hi,
>
> It is not very clear the way you describe it. At least i don't understand 
> it.
>
> 1) Do you have the SimpleCheckBox as a member of a containing class?
>
> 2) Do you have multiple instances of the ContainingClass?
>
> 3) Do you reuse the same instance of SimpleCheckBox to many 
> ContainingClass?
>
> 4) Do you have multiple instances SimpleCheckBox in a one-to-one 
> relationship for every ContainingClass instance?
>
> A code example would also be nice.
>
>
>
> On Wed, Jun 8, 2016 at 11:25 AM, 129pierre <[email protected] 
> <javascript:>> wrote:
>
>> Thanks Ed,
>>
>> I try but same result.
>>
>> Any other idea ?
>>
>> Pierre
>>
>> Le mercredi 8 juin 2016 00:48:34 UTC+2, Ed a écrit :
>>>
>>> try making it a final.
>>>
>>>>
>>>> -- 
>>>>
>>> -- 
>>
>>
>
>
> -- 
> Vassilis Virvilis
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to