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 :
Le mercredi 8 juin 2016 10:56:03 UTC+2, Vassilis Virvilis a écrit :
4) Do you have multiple instances SimpleCheckBox in a one-to-one relationship for every ContainingClass instance?3) Do you reuse the same instance of SimpleCheckBox to many ContainingClass?2) Do you have multiple instances of the ContainingClass?1) Do you have the SimpleCheckBox as a member of a containing class?Hi,It is not very clear the way you describe it. At least i don't understand it.A code example would also be nice.On Wed, Jun 8, 2016 at 11:25 AM, 129pierre <pierre...@gmail.com> 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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment