I have done like you said it. But I have another problem now.
As you can see the setUsername() method sets the username, and by using a simple alert I've checked and it's correct.
BUT that method does not get called before the constructor, that means that initWidget() gets called first, and I'm using the username there, and it will be null since the setUsername method does not get called before initWidget().
What can I do here in order to have my username set in the initWidget() method.?
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 firstname.lastname@example.org.
To post to this group, send email to email@example.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.