I would like to do something programmatically with the widgets defined
in a UIBinder.xml file.

I have a corresponding java view class that implements a default
constructor that calls initWidget() as its last statement to create
the view (and I'm assuming that this is when the widgets in the view
get created.  The code below fails because emailAddressBox is null
when it's passed to the constructor:

....
    @UiField
    FormTextBox emailAddressBox;
....
public MyViewImpl(){
        new Validator(emailAddressBox);
        initWidget(ourUiBinder.createAndBindUi(this));
}

My question is, how can i get access to that widget just after it's
created so I can do something with it?

thanks much

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to